Sorry Marco I didn'yt read your question. 

If you've a getVector() method

${vector[0].x}

unless getX() returns a vector. 


On Mon, 6 Dec 2004 10:58:06 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
> I believe:
> <c:out value="${x[0]}"/>
> will work.
> 
> 
> 
> 
> > -----Original Message-----
> > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > Sent: Monday, December 06, 2004 10:54 AM
> > To: 'Struts Users Mailing List'
> > Subject: getting value of object in a collection via tag
> >
> >
> > Hi all,
> >       'silly' question...but if I have an ActionForm
> > which has a Property of type Vector, how can I say
> > 'print property x' of the first element?
> >
> > Thanx and regards
> >       marco
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> 
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to