Hey,
i don't see a question here... i just see a few lines of code!
Best,
Martin


Am 22.09.2010 um 10:09 schrieb fahri:

Hallo
here is an another question for SelectBoxes.

var doc = this.getRoot();
var data = {value: ["true"]};
var model = qx.data.marshal.Json.createModel(data, true);
var controller = new qx.data.controller.Object(model);
var editor = new qx.ui.form.SelectBox().set({required:true, maxWidth: 60, 
minWidth: 60});
editor.add(new qx.ui.form.ListItem("True", null, true));
editor.add(new qx.ui.form.ListItem("False", null, false));
controller.addTarget(editor, "modelSelection[0]", "value[0]", true);
doc.add(editor, {left: 100, top: 50});

________________________________
View this message in context: Re: Problem qx.data.controller.Object, SelectBox 
and 
ListItem<http://qooxdoo.678.n2.nabble.com/Problem-qx-data-controller-Object-qx-data-Array-and-qx-ui-form-TextField-tp5253843p5558069.html>
Sent from the qooxdoo mailing list archive<http://qooxdoo.678.n2.nabble.com/> 
at Nabble.com<http://Nabble.com>.
<ATT00001..txt><ATT00002..txt>

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

Reply via email to