If you use InstanceRequest, that means the method you're calling must be 
non-static, which is what you want here but also be of your entity type. 
 Here

@Service(value = EmployeeService.class, locator = DaoServiceLocator.class)
public interface EmployeeRequest extends RequestContext {
...
 Request<Void> persist(EmployeeProxy employee);

with your EmployeeService should do it.  InstanceRequest is for calling a 
method of EmployeeGWT in this case

will do it.

However, you need to use fire, not using
Request<Void> createReq = request.persist(newEmployee).fire(new 
Receiver<Void>() { ...

-- 
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/-/QKN_e4nJw8kJ.
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