RE: getting value of object in a collection via tag

2004-12-07 Thread Jim Barrows
> -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 3:13 AM > To: 'Struts Users Mailing List'; 'Yves Sy' > Subject: RE: getting value of object in a collection via tag > > > Hell

RE: getting value of object in a collection via tag

2004-12-07 Thread Jim Barrows
> -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 2:15 AM > To: 'Struts Users Mailing List' > Subject: RE: getting value of object in a collection via tag > > > Hello , > Thanx for the r

RE: getting value of object in a collection via tag

2004-12-07 Thread Marco Mistroni
iling List Subject: Re: getting value of object in a collection via tag I believe that wont work. Seems like you have two choices: 1. Extract the first element in your action and place it in request scope so you can use a simple in your jsp; 2. use and set the "length" attribute to

Re: getting value of object in a collection via tag

2004-12-07 Thread Yves Sy
. > > actually I am not sure if it will work if I use a Collection instead of > a Vector... > > regards > > marco > > > > -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: 06 December 2004 17:58 > To: Struts Users

RE: getting value of object in a collection via tag

2004-12-07 Thread Marco Mistroni
marco -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 17:58 To: Struts Users Mailing List Subject: RE: getting value of object in a collection via tag I believe: will work. > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PRO

Re: getting value of object in a collection via tag

2004-12-06 Thread Mark Lowe
ginal 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, > >

Re: getting value of object in a collection via tag

2004-12-06 Thread Mark Lowe
Hi Marco Should be the same as a List backed form. ((SomeObject) vector.get(0)).getX(); Mark On Mon, 6 Dec 2004 17:54:10 -, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hi all, > 'silly' question...but if I have an ActionForm > which has a Property of type Vector, how can I say > 'p

RE: getting value of object in a collection via tag

2004-12-06 Thread Jim Barrows
I believe: 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, >

getting value of object in a collection via tag

2004-12-06 Thread Marco Mistroni
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 PROTECTE