flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sankar <santanu4...@gmail.com>
Subject Re: [FlexJS] Data-binding fails when following multiple references
Date Thu, 09 Feb 2017 09:19:38 GMT
piotrz wrote
> Put into model only one model and it should work.

Hi Priotr,

I'm okay with adding only one model class in <mdl:model> tag. I also tested
if I declare an external class having data for Table component in
<fx:Script/> tag and then bind to Table component, that does work. 

But Tabs and TabBar component still breaking my application when I tried by
bracketed binding. I tried following codes:

<mdl:GridCell column="1" percentWidth="100">
            <mdl:Tabs width="400" selectedIndex="1" tabIdField="tabId"
labelField="label" className="customTabBarPanelItemRenderer"
       <mdl:GridCell column="1" percentWidth="100">
            <mdl:NavigationLayout width="600">
                    <mdl:TabBar selectedIndex="0" tabIdField="tabId"
labelField="label" className="customTabBarSetup"

                    <mdl:TabBarPanel id="starks_panel" isActive="true">
                            <js:Li><js:Label text="Catelyn"/></js:Li>
                            <js:Li><js:Label text="Robb"/></js:Li>
                            <js:Li><js:Label text="Sansa"/></js:Li>
                            <js:Li><js:Label text="Brandon"/></js:Li>
                            <js:Li><js:Label text="Arya"/></js:Li>
                            <js:Li><js:Label text="Rickon"/></js:Li>

                    <mdl:TabBarPanel id="lannisters_panel">
                            <js:Li><js:Label text="Tywin"/></js:Li>
                            <js:Li><js:Label text="Cersei"/></js:Li>
                            <js:Li><js:Label text="Jamie"/></js:Li>
                            <js:Li><js:Label text="Tyrion"/></js:Li>

                    <mdl:TabBarPanel id="targaryens_panel">
                            <js:Li><js:Label text="Viserys"/></js:Li>
                            <js:Li><js:Label text="Daenerys"/></js:Li>

Can you please take a look, Priotr (?)


View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Data-binding-fails-when-following-multiple-references-tp58022p59179.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message