On Mon, Sep 22, 2008 at 2:48 PM, Jean-Baptiste BRIAUD - Novlog <
[EMAIL PROTECTED]> wrote:

> I found why the error was raised but I know have another error :-)
> It was due to the content type, I changed it to application/json and
> it worked.
>
> But then I got another error :
> qx.io.remote.transport.XmlHttp[l6]: Could not execute json:
>
> I'm not sure about the meaning of "executing json" ...


In the case of application/json, it calls qx.util.Json.parseQx() with the
response data.  That method surrounds the text in parenthesis and calls
eval().  If this fails, an exception is thrown and the message you saw is
generated.  In other words, the result that you're passing back from the
server is not valid javascript.  It can't be parsed.

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to