Feroz,
It sounds to me like you are... "out of beer". Search this list for
that string, and read the first item for your fortune.
Walden
On Aug 26, 1:36 am, "Feroz Gul Pathan" <[EMAIL PROTECTED]> wrote:
> Thanks for reply
> I used HTTPRequest.asyncGet ... method to make a request. After making a
> call (request) this will proceed to next operation and don't wait for the
> response. How we can block operation until response will be completed and
> incompletion(String responseText) method will be executed successfully. How
> can we make this asynchronous request synchronous?
>
> sample code is here.
>
> HTTPRequest.asyncGet("AnyPage.jsp", new ResponseTextHandler()
> {
> public void onCompletion(String responseText) {
> final JSONValue jsonValue =
> JSONParser.parse(responseText);
> JSONObject jsonObject;
>
> }
> });
>
> Thanks
>
>
>
> On Mon, Aug 25, 2008 at 9:53 AM, Ian Bambury <[EMAIL PROTECTED]> wrote:
> > Whatever you are running after the request, run it after the response.
>
> > I.e. make the request the last thing you do when processing some input or
> > other, and then in the onComplete, carry on with whatever it is you want to
> > do.
>
> > 2008/8/25 feroz <[EMAIL PROTECTED]>
>
> >> Hi
>
> >> How we can stop control until we receive complete response in GWT.
> >> Control will execute next source before the completion of response.
> >> how we can stop control until response will be processed completely.
> >> thanks
>
> > --
> > Ian
> >http://examples.roughian.com
> > ___________________________________
>
> > Life is either a daring adventure or nothing.
> > Security is mostly a superstition.
> > It does not exist in nature.
> > - Helen Keller
> > ___________________________________- 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 [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
-~----------~----~----~----~------~----~------~--~---