Saturday, March 26, 2011

GWT RequestFactory populate tree structure

Hello,

I have a problem using RequestFactory form GWT 2.2
Is there a way to populate a whole tree structure from the data model
on one single request?
My model looks like this:

Hierarchy {
Set<Hierarchy> getChildren();
}

When I use request.with("children") method all I get is one extra
level of a tree. Of course I can fetch one tree level at a time or get
all Hierarchy objects and build a tree on the client, but it doesn't
seem right. Is there a smart way to achieve this?

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate