ValueProvider+RequestFactory - how to access properties of nested object?
Hi everybody,
i'm trying to figure out how to display properties from related object in a grid.
Let's say I have entity object called "Song",that is relating to "Genre" object.
Now,what I want to achieve is to display list of "Song" objects on grid,but also include some of the details from related "Genre" object.
From what I read on GXT 3.0, valueProviders should be able to do that, but I haven't found out how to do it.
So far,I have managed to do this without problem:
interface SongProxyProperties extends PropertyAccess<SongProxy> {
ModelKeyProvider<SongProxy> id();
ValueProvider<SongProxy, String> artist();
.
.
.
ValueProvider<GenreProxy, String> genre(); ?????????
}
Can anyone help me with this?
Tnx,
Igor
How did you do it finally?
Hey Igor,
Could you tell us how you did it? We are also looking for the same thing, but reading GWT Editor docs did not make us any wiser :) ...
Thanks,
Koen