Hi Mike,

AFAIK, qooxdoo currently has no way to get all form values at once, so 
you'll have to gather the values of your form inputs manually. You can 
store them in a map and then run it through qx.util.Json.stringify().

Once you've got your JSON string, you can post it to the server using 
qx.io.remote.Request.

We're currently working on improving the form API to make better use of 
Data Binding. Eventually you'll be able to just serialize your data 
model, so you won't have to iterate over the form fields. But this code 
is only in trunk and still experimental.

Hope this helps.


Regards,
Daniel

Mike UK schrieb:
> Hi
> 
> I've probably missed something here but I would like to take the contents of
> a form and post the whole of it in JSON format to my backend servlet for
> processing, rather than using URL parameters.
> 
> Any clues as to where I started or preferably some example code?
> 
> Cheers
> 
> Mike

------------------------------------------------------------------------------
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

Reply via email to