Thursday, September 29, 2011

Re: Request for help with Request Factory and Spring MVC integration

Using Request<EmployeeProxy, Void> persist();

I am getting compilation error saying "Incorrect number of arguments
for type Request<T>; it cannot be parameterized with arguments
<EmployeeProxy, Void>"

And I am calling the persist method as below.

public interface MyRequestFactory extends RequestFactory {
EmployeeRequest employeeRequest();

private final MyRequestFactory requestFactory =
EmployeeRequest request = requestFactory.employeeRequest();
EmployeeProxy newEmployee = request.create(EmployeeProxy.class);
Request<Void> createReq = request.persist().using(newEmployee);

Is the above way correct? I got that from the GWT documentation for
Request Factory

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment