public function get PURCHASED():String { return 
"PURCHASED"; }

But the class has

                [Bindable]public class DefaultStrings implements IUIStrings

From: Alex Harui<mailto:aha...@adobe.com.INVALID>
Sent: Tuesday, June 20, 2017 9:33 AM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] How Binding works?

How is PURCHASED defined?

On 6/19/17, 11:10 PM, "yishayw" <yishayj...@hotmail.com> wrote:

>We have an mxml component where
>
>                       [Bindable]public var locStrings:IUIStrings =
>LocaleManager.localeStrings;
>...
>                        <js:beads>
>                           <js:ContainerDataBinding/>
>                       </js:beads>
>...
>                        <js:TextButton  text="{locStrings.PURCHASED}"/>
>
>LocaleManager is declared thus:
>
>                       [Bindable]
>                       public class LocaleManager
>
>and it has:
>                        public static function get
>localeStrings():IUIStrings
>
>where IUIString is declared thus:
>
>                       [Bindable]public interface IUIStrings
>
>and its implementation is declares like this:
>
>                       [Bindable]public class DefaultStrings implements
>IUIStrings
>
>Can anyone explain why I'm seeing this?
>
>                       Data binding will not be able to detect assignments
>to 'PURCHASED'.
>
>
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-How-Binding-works-tp57096p624
>81.html&data=02%7C01%7C%7Cb672a18d7b984dac8a1008d4b7a56890%7Cfa7b1b5a7b344
>38794aed2c178decee1%7C0%7C0%7C636335368449199077&sdata=B9M048Wm1IsFYGOD%2F
>WAwrNhEmrJvAVEWXyPfP4MFuIQ%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to