Hello,

here I have the problem with the ListItem I need the values from the model
in the array:

var containerObject = {name  : "a", value: []};

var model = qx.data.marshal.Json.createModel(containerObject, true);
var controller = new qx.data.controller.Object(model);
var editor = new qx.ui.form.SelectBox();
editor.add(new qx.ui.form.ListItem("True", null, 1));
editor.add(new qx.ui.form.ListItem("False", null, 0));
controller.addTarget(editor, "value", "value[0]", true);

this.getRoot().add(editor,{ top: 10, left: 10});

Thanks
Fahri 
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Problem-qx-data-controller-Object-qx-data-Array-and-qx-ui-form-TextField-tp5253843p5255368.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to