Question: I can set focus for pretty much any type of control with:

```
var f = dojo.byId('#{id:NotInvitedMsg}');
if (f != null)
   f.focus()

```

But this does not work on rich text controls at least the way I want. I assume it is setting focus but since the rich text control is made up of multiple components, the edit area is not getting the focus. Is there anyway to set the focus to the edit area?

Answer: 
The way I would do this would be to commit the changes on the development machine to the repository, then update the production machine checkout. That ensures that everything is logged and updated properly.

However, I presume that isn't a desirable option for your situation (or you didn't do a checkout from the repository on your production server), so the easiest way would be to export your development machine checkout, then overwrite the production machine copy. If you don't delete the production copy, then only the files in your development export will overwrite, and you'll keep any production-specific files you may have (logfiles, etc.).

A slightly less-risky option (and the one I'd do, for safety's sake) would be to copy just those files that have been modified in the development checkout, and overwrite their counterparts in the production copy. This is much more manual (unless you write a script to automate the copy-into-production), but you're guaranteed not to overwrite anything you didn't intend to on the production copy.

I've done all three methods before, and I honestly prefer the first one for simplicity, reversibility, and logging. If something is wrong, I can immediately revert back to the last stable copy, and it's extremely easy to check what version of the codebase the production is using.
If "local copy" have to be translated as "Working Copy" and these WC linked to the same Repository and URL in repo, you can

* Commit changes from DEV WC
* Update WC on PROD side

PS - if you don't want commit scrap to trunk, you can relocate to any other location inside repo before commit, and relocate PROD WC before update