The above responses are how to disable the controls while waiting for
the RPC.  The rest of the answer is to put the application logic that
depends on the RPC result in the rpc callback's onSuccess method, as
opposed to coding it inline with the rpc call itself.

On Sep 3, 6:04 am, Manuel Carrasco <[EMAIL PROTECTED]>
wrote:
> Use a PopuPpanel with a customized message, show it before the async
> call and hide it in the response.
> It will disable all user controls in this while.
>
> Take a look to GWTCwait  fromhttp://code.google.com/p/gwtchismes/
>
> On Sep 3, 5:05 am, sidkdbl07 <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm just getting into gwt and have come across my first hurdle...
>
> > I have a DialogBox which will ask my user a yes/no question. No: clear
> > the DialogBox. Yes: make  an RPC and wait for the response. How does a
> > person get the application to wait for the response?
>
> > Sidkdbl07- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to