On Sat, Sep 24, 2011 at 12:36 AM, Magno Machado <[email protected]> wrote:
> But only foo got persisted, not it's bars RequestFactory itself doesn't persist anything, it just synchronizes the object graph between client & server. How exactly you would persist a Foo, a list of Bars, and the relationship is dependent on what data storage you are using, so there needs to be logic inside the persist() method of Foo, that persists not only the Foo, but any relationships and their objects. If you inspect Foo.getItems() inside the Foo's persist() method, a list of Bars should be there, that's where RequestFactory's part ends. -- 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.
