Thomas Broyer <t.broyer@...> writes:
> 
> 
> On Friday, June 3, 2011 2:45:15 AM UTC+2, pjulien wrote:UserProxy editable
=request.edit(request.create(UserProxy.class));That's your problem right there.
 You don't call RequestContext#edit()on the proxy that's returned from
RequestContext#create
> 
> 
> It shouldn't be an issue: create() returns an editable proxy, and edit()
simply returns its argument when it's already editable (the Editor framework
takes advantage of this: it unconditionally edit() the objects, whether you
passed a "frozen" or editable proxy to the EditorDriver).
> 

I have "uncaught exception escaped" at such a line and googled to this posting.
Before solving mine, perhaps the version i am using from
http://cleancodematters.wordpress.com/2011/06/04/tutorial-gwt-request-factory-part-i/
maybe more correct:
    PizzaRequestContext context = createFactory().context();
    PizzaProxy pizza = context.create( PizzaProxy.class );

Regards
red1



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to