You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Yishay Weiss (JIRA)" <ji...@apache.org> on 2017/06/04 14:14:04 UTC

[jira] [Created] (FLEX-35320) [FlexJS] DataBinding Not Working When Host Changes

Yishay Weiss created FLEX-35320:
-----------------------------------

             Summary: [FlexJS] DataBinding Not Working When Host Changes
                 Key: FLEX-35320
                 URL: https://issues.apache.org/jira/browse/FLEX-35320
             Project: Apache Flex
          Issue Type: Bug
          Components: FlexJS
            Reporter: Yishay Weiss
             Fix For: Apache FlexJS 0.8.0


TitleBarView.mxml has this line: 

 <js:Label id="titleLabel" text="{ITitleBarModel(model).title}" className="TitleBarTitle" >

But if I change the model to a tbModel where tbModel.title == "hi" I will not the label text is empty instead of it being 'hi'. 

In other words, data binding only works if the host stays the same. 

See example app:

https://paste.apache.org/hdOl 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)