Thursday, January 12, 2012

Re: RequestFactory: Get entity ID on success of persist

in 

request is of type ? extends RequestContext  

add your own persist method that returns the newly created entity instead of void.  The you receive it using Receiver<XEntity> instead of Receiver<Void>

--
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/-/aZ4ZeqV0XBIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment