Derrell Lipman wrote:
>
> On Sat, May 7, 2011 at 22:44, dabd <[email protected]> wrote:
>
>> I implemented a wrapper web service that returns a string with a call to
>> qx.io.remote.transport.Script._requestFinished.
>>
>> And made a simple test with the following code:
>>
>> url = "http://localhost:8080/sparql/resources/sparql/update";
>> req = new qx.io.remote.Request(url, "GET", "application/json");
>> req.setParameter("id", "10");
>> req.setCrossDomain(true);
>> req.addListener("completed", function(e) {
>> alert(e.getContent());
>> });
>> req.send();
>>
>
> Please post what Firebug shows as the entire GET request, and what Firebug
> shows for the response to the GET request. You should be getting close at
> this point.
>
> Also, in addition to having qx.debug enabled, you can enable
> qx.ioRemoteDebug to get additional debugging in the qx.io.remote.* code.
>
> Derrell
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
First I set the qx.ioRemoteDebug by adding this to Application.js:
qx.core.Setting.set('qx.ioRemoteDebug', true);
but I get a warning saying qx.core.Setting.set is deprecated so I used
instead:
qx.core.Environment.add("qx.ioRemoteDebug", true);
This does not seem to add much new information in the console but anyway I
figured what the problem was. I was not putting the same
_ScriptTransport_id back in the response that came in the request. Now I
just need to figure how to use the jsonp store but that is a problem I
posted on another thread!
Thanks.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/problem-with-AJAX-request-tp6340301p6341938.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel