objects. Via a RequestFactory service I create a Header object and
send it back to the client, ensuring that the list of Response objects
is initialized before sending it to the client.
Then, on the client, I use the create method to create several
Response objects and add them to the Header proxy on the client side.
I then send another request to call a method (saveResponses) which
persists the Header object on the server, including a call to .with
("responses"), and then fire the request.
However, on the server side, the response objects are contained in the
list of responses for the Header object in the saveResponses method.
Should I expect this to work? If so, are there any constraints on the
context in which it will work? If not, why not - it seems like this
is basic functionality that should exist. I have gotten around it by
writing methods to explicitly save the Response objects before saving
the Header object, but I don't think I should have to do this.
Thanks in advance for any pointers.
Ryan
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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