Wednesday, March 30, 2011

How to properly return persisted ID with RequestFactory+Editor

With a normal Request, I can specify a return type on an InstanceRequest. However, when using RequestContext with the Editor framework, the Receiver argument to fire() only accepts a Void generic type. This means that I can no longer return the persisted ID of the object back to the client without making a subsequent request based on the stable ID.

What are the reasons behind this decision? Is the second call to the server my only option for this functionality?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment