Hello Hansjoerg, thats a feature we added for the upcomming 1.3 release. Thats why i have moved your demo to the devel playground which always uses the trunk version of qooxdoo:
http://tinyurl.com/2vrnzny I changed two things. First of all, you should use the modelSelection as target for the object controller. This gives you always the set model instead of the set list item which is a widget. As a second thing, i made the model of the select box items to your desired id by using a delegate. Just check out the code and you sure will see how it is done. :) Regards, Martin P.S. With that, i could remove the old widget serializer, which is not necessary anymore. Am 19.11.2010 um 09:45 schrieb Qoodary: > > Hello, > > The half night, I have looked to examples for Data binding, controllers and > Select boxes. > But I have not found the right solution for me :-) > This is because I am a QX beginner and I do not understand exact the details > of controllers, marshal and Models. > I tried to give a short example in the playground: > > http://tinyurl.com/3x52bjl > > What I want: > On my applications there are several selectBoxes, some Textfields, > Checkboxes and a table. > The user selects the items of the selectboxes, fill in some values for the > textfields. > If he clicks on "Send" the data should be transfered with RPC and PHP to a > database. > > The example above is almost what I need. But I dont want to transfer the > labels (here the color names) of the select boxes. I want the values, here > the Ids 1-4 > > How can I do this? > > thanks a lot > best regards > Hansjoerg > > -- > View this message in context: > http://old.nabble.com/Controlller%2C-How-get-value-instead-of-label-of-a-SelectBox--tp30255702p30255702.html > Sent from the qooxdoo-devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
