Hi Yishay,

I did spent some time on this but cannot find so far why binding is not
working after model change. I think it should be. 

There is SimpleBinding class involve in all of this. Array _bindings [1]
seems to contains everything what needed, but maybe we should react
somewhere on "modelChanged" event. 

But where ? Changing model on the fly should reflected into refreshing in
somehow binding.

The only thing which I noticed that when I'm assigning new model [2], it's
being added as bead but the old one is not removed. Basically when you do
this one:

pv.titleBar.model = new TitleBarModel(); - You will have many models in
_beads Array.

Not sure if it is ok.

[1] https://paste.apache.org/SsO4
[2] https://paste.apache.org/Efit

Piotr



-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62123.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to