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.
Here's a rather heavy weight, buy effective approach. If it feasible to have both directories accessible from the same machine, e.g. as Windows shares or as temporary mounts, use a tool such as [WinMerge](http://winmerge.org/) or [Meld](http://meldmerge.org/) to find out what the differences are and to choose which files to copy over.

Otherwise export the revision that's on your production machine to an empty directory on the development machine; use the same tool to remove common files in the exported source tree and to copy your changes to it. At this point your export directory will contain the files you want to copy to the production machine.