This should get you started.
Henry, did you finally get it to work?
I'm considering adding a helper method to the RichFacesClient for this.
Sadly, not yet. I suspect the seam fileupload widget may have something to do with this in contrast to the tomahawk one currently used.