Can i do that?
@ProxyFor(value = User.class, locator = EntityLocator.class)
public interface UserProxy extends EntityProxy{
List<UserProxy> getFriends();
}
I suppose that work, but i get null. What's wrong?
You're probably missing a call to with("friends")
.
http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html#relationships