Hi John,

This is not the problem, as you can see in your updated example, after have
updated the model (line 34), onUpdate() has not be called. This is my
problem, I would like to found a way to be "notified" when the model has
changed.

2016-02-18 7:02 GMT+01:00 John Spackman <john.spack...@zenesis.com>:

> 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
>



-- 
W.Oprandi
william.opra...@gmail.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

Reply via email to