> -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
> -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
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
.
>
> 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
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
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,
> >
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
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,
>
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
9 matches
Mail list logo