It will work for you, but your raised bug is more general thing. Almost each
component has model - what if I would like to change that model on the fly ?
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/
It looks like Alex is modifying Panel to fix the problem in Accordion. I’m good
with that.
From: piotrz<mailto:piotrzarzyck...@gmail.com>
Sent: Tuesday, June 6, 2017 10:10 AM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] DataBinding Problem
I think we ca
I think we can make it as feature request and Yishay probably need to handle
"modelChanged" event on your own to have such code working on the fly.
What do you think Yishay ?
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.
I have local changes that fixes Binding in Accordion by changing the
lifecycle of the underlying Panel that AccordionItemRenderer subclasses.
I'll push them before I shut down for the day. I want to try to fix the
TitleBar height issue on JS first.
The reasoning is that ItemRenderers are supposed
Alex,
I was thinking about that more and more. I think the way how
MXMLBeadViewDataBinding decided what binding has been chosen in case of
TitleBarView is ok. - We probably shouldn't change anything in that matter.
Exchange model - That's more global thing - cause if we allow for this in
case of
It's actually MXMLBeadViewDataBinding. The simplest solution may be to avoid
using binding in TitleBarView and explicitly listen to TitleBar's
"modelChanged" event and TitleBarModel's "titleChange" event. But any other
solution is fine by me.
--
View this message in context:
http://apache-flex-
SimpleBinding is tuned for simple cases. It doesn't expect the object it
is watching to change, just its properties.
GenericBinding will watch for that, but the DataBinding implementation has
to choose GenericBinding.
It should be ok for objects to share models as long as it is done "early"
in t
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 "modelCha
Yishay,
Try to make one more test. Add to this example bead ApplicationDataBinding
and let me know if something changed.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp620
You got it [1]. Thanks Piotr.
[1] https://issues.apache.org/jira/browse/FLEX-35320
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62083.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
Hi Yishay,
Please raise jira with above information and I will look into that.
Thanks,
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62082.html
Sent from the Apache
Example app [1]
[1] https://paste.apache.org/hdOl
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-DataBinding-Problem-tp62073p62078.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
12 matches
Mail list logo