Thursday, September 29, 2011

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

Sorry that was a typo,

@Service(locator = AppServiceLocator.class, value = 
public interface EmployeeRequest extends RequestContext { 
// InstanceRequest<EmployeeProxy, Void> persist(); 
Request<Void> persist(EmployeeProxy employeeProxy); // this is right

and while calling, 

Request<Void> createReq = request.persist().using(newEmployee); // wrong

request.persist(newEmployee).fire(); // correct

I suggest you read the RF documentation!

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
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