struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mel...@gmail.com>
Subject Re: getting value of object in a collection via tag
Date Mon, 06 Dec 2004 17:57:20 GMT
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 -0000, Marco Mistroni
<mmistroni@waersystems.com> wrote:
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message