Yip found it,

it was a problem in the extraction from the database (forgot to put 
a teamVO.setPlayer(rs.getString("player")) and put a teamVO.setPlayer
("player") instead, doh!

All works now, but........

A repeater inside a tabNavigator VBox, why does the repeater fill 
the whole page and when you scroll down the repeater elements scroll 
up the whole page instead of inside the VBox of the tabNavigator

Cheers,

Iain



--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
> Doublecheck the data in the VO.
> 
> In a result handler, try something like:
> trace(myPojo.getTeams.result[0].players[0].player)
> 
> Tracy
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of digital_eyezed
> Sent: Monday, September 12, 2005 3:47 PM
> To: [email protected]
> Subject: [flexcoders] Re: Using a Repeater tag with an Array of 
VO's
> 
> yeah, I tried that, but all I got was:
> 
> Players: 
> player 
> player 
> player 
> player 
> player.
> 
> hmmmph.
> 
> --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> 
> wrote:
> > How about:
> > <mx:Label text="{r2.currentItem.name}">
> > 
> > Tracy
> > 
> > -----Original Message-----
> > From: [email protected] 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of digital_eyezed
> > Sent: Monday, September 12, 2005 3:14 PM
> > To: [email protected]
> > 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
> 
> 
> 
> 
> 
> --
> 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 --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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/
 


Reply via email to