Hi William The onUpdate method is being called; is it possible that you were looking in the Playground log and not in the browser log? The Playground log only includes messages from this.warn() etc (or qx.log.Logger.warn() etc), but console.log() statements go direct to the browser console.
I’ve updated your sample to use this.warn() and see messages when onUpdate() is being called: http://tinyurl.com/jhl6uwo 001438 qx.application.Standalone[495-0]: Starting application 'Custom Code' ... 001451 qx.application.Standalone[495-0]: Model updated from controller to list 001452 qx.application.Standalone[495-0]: Model updated from list to controller 001452 qx.application.Standalone[495-0]: Trying to update list model... 001452 qx.application.Standalone[495-0]: true 001452 qx.application.Standalone[495-0]: Successfully started. John On 15/02/2016, 09:00, "woprandi" <william.opra...@gmail.com> wrote: >Hi, > >I have a controller with model and I bind a subset of this model to a list >model (with addTarget). I update a property of an item of the list model and >the controller model is well updated but the onUpdate callback is not >called.. >Check this example : http://tinyurl.com/h2o6yv4 > >I would like to do some stuff in the onUpdate (such as a backend request) > >Another question : Why the target2model onUpdate is called when I set the >binding ? > > > >-- >View this message in context: >http://qooxdoo.678.n2.nabble.com/onUpdate-binding-callback-not-called-if-submodel-has-been-updated-tp7588000.html >Sent from the qooxdoo mailing list archive at Nabble.com. > >------------------------------------------------------------------------------ >Site24x7 APM Insight: Get Deep Visibility into Application Performance >APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >Monitor end-to-end web transactions and take corrective actions now >Troubleshoot faster and improve end-user experience. Signup Now! >http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >_______________________________________________ >qooxdoo-devel mailing list >qooxdoo-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel