Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Jānis Ābele
Hi, I couldn't find any documentation mentioning this. When I use service with overloaded methods I got: Feb 8, 2011 12:36:54 PM shared.CurrencyRequest com.google.gwt.requestfactory.shared.Request count() SEVERE: Method overloads found in type lserver.service.CurrencyDao named count:

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Eric Andresen
I see the same error message when inheriting from a generic class or implementing an interface that uses generics. I don't see any documentation forbidding that either. In the example below it works just fine if I comment out the implements ObjectWithExceptionMyObject code, but throws an

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Jānis Ābele
After long session of trial and error I found out, that LocatorServiceLayer somehow uses base class or interface of specified Service. interface B extends A = A is used. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5807 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Are overload methods allowed in service class using RequestFactory?

2011-02-08 Thread Thomas Broyer
On Tuesday, February 8, 2011 3:34:19 PM UTC+1, Eric Andresen wrote: I see the same error message when inheriting from a generic class or implementing an interface that uses generics. I don't see any documentation forbidding that either. In the example below it works just fine if I