Hi,

is there a simple way to get the objects id after calling the persist
method?


EmployeeProxy employee  = ...request.create(EmployeeProxy.class);
...request.persist().using(employee);
...persistRequest.fire(...) {
      onSuccess(Void response) {
        // can i somehow get the id from the server-object?
      }
     }

I've tried altering the persist method to "public String persist()"
instead of "public void persist()" but the requestFactory won't play
along.

Is there a good way to implement that without making a static persist
method?

-- 
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