Hi Marc,
Thanks for your reply, but I've already have something like your example.
But the point is to bind each list item model property to the data property
in model (in your example - btw I don“t understand the point of dummy data
in your example). So when serialize model form to JSON I need something like
this:
{"Car":"T","Model":"A"}
Instead:
{"Car":{"label":"Toyota","data":"T","mod":[{"label":"Corolla","data":"C"},{"label":"Avalon","data":"A"},{"label":"Camery","data":"R"}]},"Model":{"label":"Avalon","data":"A"}}
Maybe the best way is serialize this by myself. I'll try this.
Thanks again.
Ana
2011/9/6 Marc Puts <[email protected]>
>
> On 09/06/2011 12:43 PM, arsousa wrote:
> > Hello,
> >
> > I've to use form and list controller data binding like this demo [1], but
> in
> > a different way. Instead to have 2 text fields and 1 select box, I need 2
> > select boxes and the values of the second one depends on the selection of
> > the first one. Have already try out to do it in playground but without
> > success [2]. Could anyone help me?
>
> Hi Ana,
>
> Here's an example from an earlier post on this mailing list, that you
> might find useful:
>
> http://tinyurl.com/3ncq5xe
>
>
> Regards,
> Marc
>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel