struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <hus...@apache.org>
Subject Re: iterate - create - html:text not bean:write
Date Fri, 24 May 2002 21:35:12 GMT
Just use iterate, but maybe like this instead 

>  <html:text name="groups" property="group"/>

and then setup an array in your ActionForm to catch them all when they
are submitted back. 


Juraj Lenharcik wrote:
> 
> Hi,
> 
> I have a bean with an ArrayList. These entries should be presented on the
> jsp as input fields. What is the best way?
> 
> <logic:iterate id="groups" name="adminloginmodules" property="groups">
> <bean:write name="groups" /><br> <== Not bean:write something like
>  <html:text name="adminloginmodules" property="group"/> for each entry
> </logic:iterate>
> 
> Juraj
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services

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


Mime
View raw message