Hello Will, as i read your mail i thought its an easy one. I hat the reason why its not working immediately in my mind. This behavior can be explained by the idea of the single value binding which is always in one direction. The controller.bindProperty method call in the delegate uses the single value binding so the binding is also only in one direction, from the model to the view. So far to why is it not working. The question on how to get it working is not that easy. I thought it is but it isn't. In fact its currently not possible at all which is a big problem! I have put this topic on my todo list for the data binding controllers. Its really important to have it as soon a s possible in the framework. Thanks for the hint!
Regards, Martin Am 01.05.2009 um 12:24 schrieb Will Morton: > Nice one, thanks... I thought that might be it, but still no dice. > > In the meantime I have worked around it by creating a subclass of > checkbox and adding instances of it to the list, but I'd still like to > find out what I'm doing wrong with the controller. > > Cheers, > > Will > > > 2009/4/30 Derrell Lipman <[email protected]>: >> On Thu, Apr 30, 2009 at 12:13 PM, Will Morton <[email protected]> >> wrote: >>> >>> /*** listtest/MyBean.js ***/ >>> >>> qx.Class.define("listtest.MyBean", { >>> extend: qx.core.Object, >>> construct: function(name) { >>> this.setName(name); >>> }, >> >> Will, I don't know if this is your only problem, but you are >> forgetting to >> call the superclass constructor for qx.core.Object. Your >> constructor should >> look like this: >> >> construct: function(name) { >> this.base(arguments); >> this.setName(name); >> }, >> >> Derrell >> >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code >> vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code > vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
