I've got sth. like:

@ProxyFor(value = Report.class, locator = CommonLocator.class)
public interface ReportProxy extends EntityProxy {
    // ...
    Integer getUserId(); *// works*

    void setUserId(Integer userId); 

    UserProxy getUser(); *// doesn't work*

    void setUser(UserProxy user); 
}

@Service(value = ReportDAOService.class, locator = DAOServiceLocator.class)
public interface ReportRequest extends RequestContext {
   // ...
    Request<List<ReportProxy>> getReports(Integer sessionId);
}


Calling getReports(sessionId) retrieves the reports where *getUserId() 
 returns the proper userId* whereby *getUser()* returns *null. *On the *
server* side *calling getUser() on result.get(0) * returns the proper 
entity/object value as well.
*
*
Any idea, *how I can get getUser()'s UserProxy representation?*

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6Zms_FFiL6wJ.
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.

Reply via email to