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 [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