Hey,
thats because of the bidirectional binding you set up using the controller.
Take a look at this small example which demonstrates the same idea:
var model = qx.data.marshal.Json.createModel({a: [], b: []});
model.bind("a[0]", model, "b[0]");
model.bind("b[0]", model, "a[0]");
As the arrays
Hi,
sorry, i have pressed the wrong button... The question is, why is not work
with the array?
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-tp5253843p5558159.html
Sent from the qooxdoo m
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 control
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,
min
Am 05.07.2010 11:08, schrieb fahri:
> 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.con
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