Hey All,
I'm trying to get one very simple line of code to work:
MyService service = GWT.create(MyService.class);
I've been playing around with this a lot, and I'm noticing that this
works fine within in the onModuleLoad() method, but anywhere else in
my client code, I get the following error
The problem I was having with MyServiceAsync is that if I want to call
service.getSomething(), I had to pass in an AsyncCallBack object with
two functions: onSuccess() and onFailure(), both of which are of type
void. I can't, within onSuccess(), set a global string variable to a
certain value,
Hi Brian, I think you want:
MyServiceAsync service = GWT.create(MyService.class);
On Aug 18, 3:00 pm, Adam Pratt mehmeh...@mailinator.com wrote:
Hey All,
I'm trying to get one very simple line of code to work:
MyService service = GWT.create(MyService.class);
I've been playing around with
right, you need to read:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/faca1575f306ba0f/3be719c021aa19bd
Now, what you'd get as a return from you method is not at all what you
would expect.
myVariable will NEVER be set by the time you exit the method.
-jason
On Aug