Reputation: 21
I'm using GWT 2.1 along with its RequestFactory. I understand, using the with() methode on a request for an object A, enables me to populate relations so that I can access B1 and B2 from A. Is it possible to populate relations beyond level 1 so that I can access C1 and C2 from A via B1, B2?
A
|
---------
| |
B1 B2
| |
C1 C2
Upvotes: 2
Views: 257
Reputation: 4173
If you're using the GWT Editor framework, you can generate the argument for the with()
call by using RequsetFactoryEditorDelegate.getPaths()
Upvotes: 1
Reputation: 21
The "dot notation" does the trick. Using ... with("B1", "B1.C1") ...
gives access to C1.
Upvotes: 2