[ https://issues.apache.org/jira/browse/FLEX-35298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Zarzycki updated FLEX-35298: ---------------------------------- Affects Version/s: Apache FlexJS 0.8.0 Fix Version/s: (was: Apache FalconJX 0.8.0) > Two-way binding is not working with -> @ > ---------------------------------------- > > Key: FLEX-35298 > URL: https://issues.apache.org/jira/browse/FLEX-35298 > Project: Apache Flex > Issue Type: Bug > Affects Versions: Apache FlexJS 0.8.0 > Reporter: Piotr Zarzycki > Attachments: TwoWayBindingFlexJSTest.zip > > > In current version of FlexJS there is only one way to make Two-way binding by > using tag: <fx:Binding/>. > {code:xml} > <js:model> > <vo:Book id="book"/> > </js:model> > <js:beads> > <js:VerticalLayout /> > <js:ContainerDataBinding /> > </js:beads> > <fx:Binding source="txtInput1.text" destination="book.title" > twoWay="true"/> > <js:TextInput id="txtInput1" /> > <js:Label text="{book.title}"/> > {code} > Doing binding as it was in old Flex SDK by "@" *is not working*. > {code:xml} > <js:model> > <vo:Book id="book"/> > </js:model> > <js:beads> > <js:VerticalLayout /> > <js:ContainerDataBinding /> > </js:beads> > <js:TextInput id="txtInput1" text="@{book.title}"/> > {code} > It would be great to have this feature in our framework cause it simplify > code, a lot. > I'm attaching example project with both option if someone would like to take > a look into that. -- This message was sent by Atlassian JIRA (v6.3.15#6346)