Hi Daniel,
first thank you for your fast answer, but we think our response is a valid
JSON.
But we keep on getting the invalid label error, our response looks like
that:
{"success":"true","data":"{\"userdata\":\" Name ... 10.36.58.100,
10.36.58.101\\n\\n\",\"secondary\":\"zone d.blubb.blubb.de. forceXfer
secondary\\nexit\\n\",\"primary\":\"zone dblubb.blubb.de. addRR s
CNAME d . \\ndns reload\\nexit\\n\"}"}
Are we wrong?
greetings Harry
2009/9/2 Daniel Wagner <[email protected]>
> Hi Harry,
>
> CrossDomain requests use the Script transport which inserts a script
> element into the document and sets the request URL as the value of the
> src attribute. This means the response text must be valid Javascript,
> e.g. JSON.
>
> This really should be mentioned in the qx.io.remote.Request API doc,
> I've made a note to update it. Sorry for the inconvenience.
>
>
> Regards,
> Daniel
>
> Harry Brandenburg schrieb:
> > Hi,
> > we have a problem using the Ajax Request with Qooxdoo. I am trying to do
> > a CrossDomain request using var req = new
> > qx.io.remote.Request("url","GET","text/plain");
> > But instead of the answer String we get an error named "Invalid label"
> > in Firebug. We tried different Mimetypes, but we still can't retrieve
> > the response.
> > We would be pleased if you could help us.
> >
> > greetings Harry
> >
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel