It's really no different from GWT-RPC, if you're more comfortable with it. 
The main difference is that you can push several things in a RequestContext 
before firing it, making a "batch request". The other major difference is 
that changes to proxies have to be made in a RequestContext, after you 
edit() them; that way, when you fire(), only the changes you made are sent 
across the write, not the whole object, only the diff.

Here, you'll create a RequestContext out of your RequestFactory, enqueue an 
invocation to get the values from the server and fire() the whole thing. In 
most cases, it'll be a different RequestContext instance than the one you 
get your PersonProxy from, but it depends how you organize your code. It'll 
however have to be a different context instance than the one you *edit()* the 
PersonProxy in!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hOXTX-Mcc90J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to