it isn't the callback methods, but rather the return type of the  
method in your Async Interface

so rather than
   void doSomething(AsyncCallback cb);

it would be
   Request doSomething(AsyncCallback cb);

Though I believe that is only available from GWT 1.5 on

-jason


On Jun 10, 2009, at 11:29 AM, Maddy wrote:

>
> Hi,
>
> How can I change the return type of Asynccallback methods from void to
> 'Request'. Some where in the forums, I read that we can change the
> return type to 'Request' object. But When I tried, It is giving me
> compilation error. Please let me know, how this can be done.
>
> Thanks
> Maddy
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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