Using RequestFacory I am trying to create an object on the server like this:
public imterface FooRequestContext extends RequestContext
{
Request<FooProxy> createByBarId(String barId);//create new Foo object
(dose not persist it)
Request<FooProxy> calculate(FooProxy foo);
}
createByBarId works fine but when I call calculate I get: Server Error: The
requested entity is not available on the server.
I think I understand the reason for this error. But is there any way to tell
RequestFactory that this object has not been persisted jet and force it to
send the whole object, not just the diff? Just as if it had been created
using requestContext.create(FooProxy.class) .
--
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/-/3sxUBmPmtYUJ.
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.