You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Pan Li <Pa...@Prominic.NET> on 2016/10/12 07:44:32 UTC

[FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7


FlexJS comes with samples using databinding, but basic 'curly brace syntax'
is broken.
these two lines can reproduce the problem:

<js:TextInput id="myTI" text="Enter text here"/>
<js:Label id="myText" text="{myTI}"/>

the code works as expect in Flex application, but it doesn't set text to
the Label in FlexJS 0.7 or 0.6


Thank you

Pan Li
My Apache Flex community contribution is working on the open source
Moonshine-IDE.com for FlexJS.

Re: [FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

Posted by pan Li <pa...@prominic.net>.
yes the sample I post was wrong
Thank you for point out



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-databinding-using-curly-braces-syntax-is-broken-in-0-7-tp55708p55725.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

Posted by Greg Dove <gr...@gmail.com>.
iirc binding into a textinput text does not work on 0.7. There was a recent
fix for this in nightly builds. But in this case the lalbel binding should
be {myTI.text} in the earlier example in the earlier example.

-Greg
[sent from my phone]

On 13/10/2016 2:26 AM, "OK" <po...@olafkrueger.net> wrote:

Do you have already add a proper binding bead?
Olaf



--
View this message in context: http://apache-flex-
development.2333347.n4.nabble.com/FlexJS-databinding-using-
curly-braces-syntax-is-broken-in-0-7-tp55708p55711.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS]databinding using 'curly braces {} syntax' is broken in 0.7

Posted by OK <po...@olafkrueger.net>.
Do you have already add a proper binding bead? 
Olaf



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-databinding-using-curly-braces-syntax-is-broken-in-0-7-tp55708p55711.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.