Dear All,
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1
A service method declared in a RequestContext can take parameters of
EntityProxyId type to avoid the need to find() an object just to use it as a
method parameter.
@Entity
public class JobPref {
// fields, getters and setters
public static JobPref findJobPrefByCustomer(Customer customer){
return new JobPref();
}
}
@Service(JobPref.class)
public interface JobPrefRequest extends RequestContext {
Request<JobPrefProxy> findJobPrefByCustomer(EntityProxyId<CustomerProxy>
id);
// other methos
}
This throws error! [ERROR] [icc] - Invalid Request parameterization
com.google.gwt.requestfactory.shared.EntityProxyId
Thanks in advance,
-sowdri-
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.