struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: Can <logic:iterate> be used for editable fields?
Date Thu, 06 Mar 2003 04:18:43 GMT
Simply put an <html:text> tag inside your iteration.  All your text inputs 
will be the same name so you need a String[] variable in your form bean to 
hold all of the entries.


>From: "Samit Goyal" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "strtus list" <>
>Subject: Can <logic:iterate> be used for editable fields?
>Date: Thu, 6 Mar 2003 09:57:25 +0530
>Hi all,
>I am forwarding again this mail to you all, Since i didnt get any reply. 
>be that my problem was not clear. I am putting this again in a different
>I konw how to display the list of un-editable fields by using
><logic:iterate> but i want to display list of Editable fields, so that upon
>submission of the form, all the user enterd values shall be stored in some
>form bean variable!
>What's the easiest way out. i dont want to create a different variable in
>the form bean for each individual text field displayed on the screen.
>Please excuse me for what may be a stupid question for you! but I am new to
>the struts and desperately looking for the solution.
> > Hi all,
> >
> > I am having a JSP which contains 12 rows of editable fields. The each 
> > contains same type of editable fields.
> >
> > Now, how shall i handle it in the Form Bean. Shall i create 12 different
> > fields for each row or can I use Array/List for that.
> >
> > Will struts set the fields in the Array Object of form bean
> >
> > Thanks in Advance.
> > Regards,
> > samit
> >
> >
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message