I'm having the inverse problem, whereas I can save the list of children just fine, but when I retrieve them, the list shows up empty on the client side. I have proven that the children get retrieved just fine from the DB but they get lost in the process of "proxyfying" the response. Has anybody run into the same problem? I can retrieve Lists of Integers and simple types, but Lists of pojo's don't get returned correctly.
On Apr 4, 11:35 am, Thomas Broyer <[email protected]> wrote: > Most likely the properties for the children will be set *after* the children > have been given to their parent; something like: > > 1. create parent > 2. create child A > 3. create child B > 4. set parent properties (including "empty" children objects A and B) > 5. set child A properties > 6. set child B properties > > What matters is what your service method receives as argument. But yes, it > means your setChildren() in the parent object cannot make a copy of the > children objects (it can make a shallow copy of the list though) or rely on > any of their properties. -- 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.
