Hi
I noticed RequestFactoryInterfaceValidator disappeared from 2.4.
Googling around I came across this :
http://gwt-code-reviews.appspot.com/1503804/
>From the comments I understand that I have to include requestfactory-apt.jar
in my build path to get compile time errors on RF validation problems.
But when I comment out a function from my implementation, that does not seam
to work :
@ServiceName(value = "xxx.UsersServiceImpl", locator =
"xxx.ApplicationServiceLocator")
public interface UsersService extends RequestContext {
Request<UserProxy> getUser();
Request<UserProxy> login(String username, String password);
}
public class UsersServiceImpl {
/**
* service implementation;
*/
public User getUser() {
return new User("koen", "xxx");
}
// REMOVING THIS METHOD IMPL INVALIDATES THE RF
// public User login(String username, String password) {
// return new User("koen", "xxx");
// }
}
Anybody?
--
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/-/QYkJ4CPgUO0J.
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.