On Thu, Nov 4, 2010 at 07:45, Leandro Santiago <[email protected]>wrote:
> Ok, so to get informations from server I need to use a "common" json
> output, as I use in ajax calls. But are there any easy and eficient way to
> send data to the server in a json-encoded way? In the server side is easy to
> decode the data in a object, but I don't know how do it in the qooxdoo side
> (Yes, stopped the twitter tutorial in the "posting data") :-)
>
You can use the qooxdoo JSON encoder which is in the class qx.util.Json
(specifically, the method stringify()) to encode your data. As posted
previously, qx.io.remote.Request is the way that you issue a low-level
remote request using qooxdoo. Study the documentation for those two classes
and you should be well on your way.
Derrell
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel