Sorry that was a typo,

@Service(locator = AppServiceLocator.class, value = 
EmployeeService.class) 
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 
https://groups.google.com/d/msg/google-web-toolkit/-/6ubvTu2SZ9YJ.
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