Title: Repeater

Hi all,

Is there anything wrong with the following code?

<mx:Repeater id="tactics" dataProvider="{plms.getDivision().getTactics()">

        <plms:header headerText="{tactics.currentItem.getName()}"/>

        <mx:Repeater id="sTactics" dataProvider="tactics.currentItem.getSubTactics()">

                <plms:row rowLabel="{sTactics.currentItem.getName()}" subTactics="{subTactics}"/>

        </mx:Repeater>

</mx:Repeater>

Where:

plms.getDivision().getTactics() is an Array of Objects and each element of that array has getName() and getSubTactics() methods.

I get the right result when I do this

Alert.show(plms.getDivision().getTactics()[0].getSubTactics()[0].getName());

Any ideas?

Thanks


Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Fax:   408.284.2766



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to