Hello,
In a SelectBox the Data is like:
selectBoxColor = new qx.ui.form.SelectBox();
// Data
var data = [{label: "Red", id: 1}, {label: "Blue", id: 2}, {label: "Yellow",
id: 3}, {label: "Green", id: 4}];
var model = qx.data.marshal.Json.createModel(data);The select box is on an MultiPageForm. If you select on item and click on "next" in the moment only the value (here Id 4 for Green) is shown. What I need is to show the label "Green" on the next page and also I need the ID = 4 for further operations So how can I change the code to display also the Label? you can see the complete code in the playground: http://tinyurl.com/2cz9pn4 thanks a lot regards Hansjoerg -- View this message in context: http://old.nabble.com/SelectBox-Data-binding-get-Value-and-Label--tp30654339p30654339.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
