Does anyone have answers to these questions? What I'm doing is
listening for an EntityProxyChange PERSIST. But that only has the
ProxyId so I have to do a

request.find(proxyId).fire()

in order to get the task. The problem is: This causes an
EntityProxyChange UPDATE which again only has the ProxyId. So I have
to do another

request.find(proxyId).fire()

This time with a Receiver that handles the task. I can't provide a
Receiver to the first request, because that would trigger the action
twice.


On Dec 9 2010, 9:32 am, haimke <[email protected]> wrote:
> I am using RequestFactory.
>
> I create new instance of a proxy:
>
>         EmployeeProxy newEmployee =
> request.create(EmployeeProxy.class);
>
> Then I do persist:
>
>         request.persist().using(newEmployee).fire(....)
>
> * How do I get the DATABASE new created ID of "newEmployee" ?
>
> * How do I read "newEmployee" properties that the server set while
> persisting ?
>
>        for example:    String createdDate =
> newEmployee.getCreatedDate();
>
> ?

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