hello,


I am trying to implement synchronous request. 



Example following
these lines work 



var req = new qx.io.remote.Request(uri, "GET", qx.util.Mime.TEXT);

req.setAsynchronous(false);



req.addEventListener("completed", function(e)
{

        this.__application.__getdump_content = e.getData().getContent();

// do my processing of response content 

});



Is there a way to get response
in synchronous way ? Something like this (not working example)





req.setAsynchronous(false);

req.send();



if (!req.isCompleted()) {

 this.debug("Request getDump failed:
"+uri);

 return null;

};



var response_text = req.getResponseText(false);



// do my processing of response here



Thank you



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to