Hi Jonathan,

thanks for clarification.

I suspect this tiny little difference in the Request's response type is 
interesting here:

You write that, before the request to "MaxT_KPDX.data" fails (in IE), a 
request call to "ms.pqr.json" succeeds; this one is of 
_application/json_ type, while the failing one is of _text/javascript_.

My idea is that the javascript code in "MaxT_KPDX.data", which gets 
executed in the "completed" listener, may be somewhat browser specific; 
you might want to temporarily switch the response type to _text/text_ or 
so to find out more about it.


Then, just out of curiosity, I'd advise you to try and switch the 
sequence order, sending the request to "MaxT_KPDX.data" first.

You probably know that the qx.io.remote.Request is a "single shot" 
object, which doesn't allow to send more than one request from a single 
object.
But I'm not sure what happens to the "completed" listener if you have a
var req = new qx.ui.remote.Request(a, b, c);

object and then, later, redefine
req = new qx.ui.remote.Request(d, e, f);

with another "completed" listener - will the first req's listener be 
ignored?

So, for debugging purposes, you might give the second request object an 
other name.


Please let us know if these ideas get you any further,

greetings,
Stefan


On 03.07.2011 15:38, Jonathan Wolfe wrote:
> Hi Stefan,
>
> Thanks for the reply, sorry about the typo, that was me trying to
> simplify the call for the listserv.
>
> console.log(e.getContent());
>
> is how I have it.
>
> - which is your qooxdoo version? *1.4.1-sdk*
> - which are "all the other browsers" (esp. version numbers and OS)?
> *Chrome 12.0.742.xxx, Firefox 3.6.18*
> - which are the circumstances of the request - is it cross domain? *No,
> not cross domain, the file is located in my resource/appname directory.
> (though that's just for testing purposes)*
> the targeted file really exist (or is it computed)? *Yes, it does exist*
> - is the "req" variable declared somewhere else, or is the "var req"
> indeed missing?* "var req" is there. *
> *
> *
> *Interestingly enough, **this request only a few lines above the other
> works fine...*
> var req = new qx.io.remote.Request('./resource/ms/ms.pqr.json', "GET",
> "application/json");
> req.addListener("completed", function(e) {
> msJSON= e.getContent();
> });
> req.send();
>
> I will say that where I make my call is within
> OpenLayers onFeatureSelect call.  Not sure if that makes any difference.
>
> Thanks,
> Jonathan

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to