Hi,

I was trying to declare Arrayist in the following way like we used to do in
Flex for ArrayCollection [1] was I think is not possible:

<j:TabBar width="100%" selectedIndex="0"
itemRenderer="itemRenderers.TabBarVerticalIconItemRenderer"
sameWidths="true">
<j:dataProvider>
<js:ArrayList>
<vos:TabBarButtonVO label="Tile Container" hash="sec1" icon=
"{FontAwesome5IconType.TH_LARGE}"/>
<vos:TabBarButtonVO label="Tile List" hash="sec2" icon=
"{FontAwesome5IconType.TH_LIST}"/>
</js:ArrayList>
</j:dataProvider>
</j:TabBar>

Do you know if this is possible and maybe I'm doing something wrong in the
declaration? or maybe we have support in compiler for this?

Thanks

[1]
http://www.java2s.com/Code/Flex/Data-Model/InitializinganArrayCollectionusingMXMLwithembeddeddata.htm
-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to