Well, one thing to be aware of is, that RequestContext.edit(), returns a
new, mutable version of the proxy, rather than unlocking the one you pass
in, so instead of :

ctx.edit(gdp);
gdp.setName("xxx");

It should be,

gdp2 = ctx.edit(gdp);
gdp2.setName("xxx");

That still doesn't explain why you are getting the error though, because
when you create() a proxy on the client side, its already mutable, so you
don't in fact need to call edit() on it at all. (and doing so should be
harmless afaik)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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