Hello,
i want to connect a qx.data.Array with qx.data.controller.Object and
qx.ui.form.TextField.
This is what my implementation looks like::
var buf = new qx.data.Array();
buf.push("Horst");
containerObject = {name : "a", value : buf };
var model = qx.data.marshal.Json.createModel(containerObject, true);
var controller = new qx.data.controller.Object(model);
var editor = new qx.ui.form.TextField();
controller.addTarget(editor, "value", "value[0]", true);
The qx.data.Array with 'Horst' should syncronize with the
qx.ui.form.TextField and 'Horst' should be visible, but it does not work
out...?
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-tp5253843p5253843.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