On Mon, May 10, 2010 at 02:36, uglyhunK <[email protected]> wrote:

>
> When debugged with the following code, it displays the actual json content.
> But when I alert with e.getConent() it shows [object Object].
>
> alert(qx.dev.Debug.debugObjectToString(e.getContent()));
>

Perfect. That's exactly as it should be. alert() does not do a deep
recursion into an object. If it finds an object, it simply displays [object
Object]. qx.dev.Debug.* do in fact recurse into an object, to display all of
its inner content.

e.getContent() is the correct method to use to retrieve the JSON response.

Cheers,

Derrell
------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to