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
On Sun, Jul 3, 2011 at 5:20 AM, Stefan Volbers <[email protected]> wrote:
> Hi Jonathan,
>
> out of the box it seems to me that there is a javascript error in
> console.log(e.getContent();)
>
> which should probably read
>
> console.log(e.getContent());
>
> Some browser may be more forgiving that another, so this might solve
> your issue.
> Apart from that, IIRC IE 8 does not offer a native console - so there is
> a chance the "completed" listener gets triggered but the logging fails.
>
> If this doesn't help, you should provide the info
> - which is your qooxdoo version?
> - which are "all the other browsers" (esp. version numbers and OS)?
> - which are the circumstances of the request - is it cross domain? does
> the targeted file really exist (or is it computed)?
> - is the "req" variable declared somewhere else, or is the "var req"
> indeed missing?
>
> HTH,
>
> greetings,
> Stefan
>
>
> On 03.07.2011 10:27, Jonathan Wolfe wrote:
> > Hi,
> >
> > In IE version: 8.0.6001.18702
> >
> > I'm trying this request and get null as a returned value:
> >
> > req = new qx.io.remote.Request('./resource/ms/MaxT_KPDX.data', "GET",
> > "text/javascript");
> > req.addListener("completed", function(e) {
> > console.log(e.getContent();)
> > });
> > req.send();
> >
> > All the other browsers seem to make the request without a problem. Any
> > ideas?
> >
> > I tried putting the full url to the file with the same result.
> >
> > Thanks for the help,
> > 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
>
--
*Jonathan Wolfe** | Meteorologist ***********
*Portland, OR **National Weather Service
503-326-2420
Try the: Model
Spectrum<http://www.wrh.noaa.gov/pqr/ms/model_spectrum.php?wfo=pqr>then
tell me what you think!
*
------------------------------------------------------------------------------
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