yeah, I tried that, but all I got was: Players: player player player player player.
hmmmph. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > How about: > <mx:Label text="{r2.currentItem.name}"> > > Tracy > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of digital_eyezed > Sent: Monday, September 12, 2005 3:14 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Using a Repeater tag with an Array of VO's > > Hi, > > I have a return from a remoteObject wich is an Array of VO's, the > VO's have objects in them of which one is another Array of Vo's (the > main Array is called TeamVO and the TeamVO has a variable inside it > called players which is an array of playerVO's). > > I want to use a repeater to display the Managers and Players so I > have done this: > > <mx:Text text="Managers:"/> > <mx:Repeater id="r" dataProvider="{myPojo.getTeams.result}"> > <mx:Label text="{r.currentItem.teamName}"/> > <mx:Label text="{r.currentItem.manager}"/> > <mx:Text text="Players:"/> > <mx:Repeater id="r2" dataProvider="{r.currentItem['players']}"> > <mx:Label text="xxxxxxxxxxxxxxxxx"> > </mx:Repeater> > </mx:Repeater> > > What do I put in the "xxxxxxxxxxxx" bit to get the players? > The playerVO has one variable called player and it is a String (his > name). > > Regards, > > Iain > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/