On Tue, Mar 22, 2011 at 07:33, Jagget <[email protected]> wrote:
> In this example code I receive only bug in Firebug console:
>
> var req = new qx.io.remote.Request("http://www.jagget.org/p/blog-page.html",
> "GET", "text/html");
> req.setCrossDomain(true);
> req.addListener("completed", function(e) {
> alert(e.getContent());
> });
> req.send();
>
> 003322 qx.io.remote.Exchange[382]: There is no transport implementation
> available to handle this request: qx.io.remote.Request[379]
>
> file:///C:/qooxdoo-1.3-sdk/framework/source/class/qx/log/appender/Native.js?nocache=0.0809714087136928
> Line 61
>
> Tell me, please, where I was wrong?
>
qooxdoo comes equipped with three "transports" for use with qx.io.remote.*:
XmlHTTP, IFrame, and Script. Of these, the only one that supports
cross-domain, is Script. The Script transport allows the following response
types: [ "text/plain", "text/javascript", "application/json" ]. Although
I've never tried it, I think if you change your requested response type to
"text/plain" to retrieve your HTML data, it will likely work fine.
Derrell
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel