Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-09-22 Thread Martin Wittemann
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

Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-09-22 Thread fahri
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

Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-09-22 Thread Martin Wittemann
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

Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-09-22 Thread 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, min

Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-07-05 Thread Christian Hagendorn
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

Re: [qooxdoo-devel] Problem qx.data.controller.Object, SelectBox and ListItem

2010-07-05 Thread 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.controller.Object(model); var editor = new qx.ui.form