Hi, I would like to use a SelectBox with databinding like in
http://demo.qooxdoo.org/current/demobrowser/#data~SelectBox.html However, I would like to have items in the select box that have both label and model. Without databinding I would create such a SelectBox with var sb = new qx.ui.form.SelectBox(); sb.add(new qx.ui.form.ListItem('myLabel1', null, 'myModelA'); sb.add(new qx.ui.form.ListItem('myLabel2', null, 'myModelB'); ... How can I do that using databinding? The demobrowser example only used model data for the items like var model = new qx.data.Array(["A", "B", "C", "D", "E", "F", "G", "H"]); var selectBox = new qx.ui.form.SelectBox(); var controller = new qx.data.controller.List(model, selectBox); Thanks, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
