Hi Jonathan,
could you please post a example result from your server to reproduce
your issue?
Cheers,
Chris
Am 04.07.2011 07:47, schrieb Jonathan Wolfe:
Alright,
To start with, I was using firebug lite to test IE and console.log
works but thanks for the suggestion to use
qx.Bootstrap.debug(e.getContent()). Next, I tried switching the type
to "text/plain" and got my response. I also tried using jquery:
$.ajax({
url: './resource/ms/MaxT_KPDX.data',
async: true,
dataType: 'script',
success: function(data, textStatus, XMLHttpRequest){
console.log(XMLHttpRequest);
}
});
and that worked too. So I believe the error is in qx's parsing of
"text/javascript" as jQuery was successful.
I'm not sure if that is a bug or just malformed data on my part, but
perhaps knowing jQuery can parse it is helpful? I'm glad I have it
working, though it would be nice to stay with qx and not have to have
the jQuery helper. But since I'm using flot which already sources
jquery it's not that big of deal ;-)
Thank you guys for your help!
Jonathan
On Sun, Jul 3, 2011 at 8:09 AM, Derrell Lipman
<[email protected]
<mailto:[email protected]>> wrote:
On Sun, Jul 3, 2011 at 11:00, Stefan Volbers <[email protected]
<mailto:[email protected]>> wrote:
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.
text/text is not one of the response types handled by the XmlHttp
transport, but text/plain is. That's worth trying.
Also, you didn't respond to the comment in Stefan's original
message: the variable 'console' does not exist, by default, in IE.
That line will cause your program to die if 'console' is
undefined. Do you have any appenders installed in your
Application.js file? Instead of console.log(e.getContent()), try
qx.Bootstrap.debug(e.getContent()) which will output it to your
registered log appenders.
BTW, what do you mean by "I'm trying this request and get null as
a returned value:" ? You get null from _what_? From console.log()?
as the return value from qx.io.remote.Request()?
Derrell
------------------------------------------------------------------------------
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]
<mailto:[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