Oh. I didnt know that! Thanks a lot! Will try to modify it. Thanks again. mives29
On Nov 5, 3:31 pm, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > mives29 schrieb: > > > requestBuilder = new RequestBuilder(RequestBuilder.GET,url); > > requestBuilder.sendRequest(null,xmlRcb); > > doc = xmlRcb.getDoc(); //calls xmlRcb's getDoc method, w/c > > returns > > sendRequest happens asynchronously, so the callback- > method is not called at this time you try to get > the document. > > You have to place the logic that happens when the XML- > file has been received inside the onResponseReceived- > method of the callback-class. > > Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---