struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samit Goyal" <samit.go...@tatainfotech.com>
Subject Re: Can <logic:iterate> be used for editable fields?
Date Thu, 06 Mar 2003 04:40:11 GMT

Thanks a lot David . You solved my big problem.

I will try this out...hope i wont need to disturb you again :-)

Thanks again.,
Samit



----- Original Message -----
From: "David Graham" <dgraham1980@hotmail.com>
To: <struts-user@jakarta.apache.org>
Sent: Thursday, March 06, 2003 9:48 AM
Subject: Re: Can <logic:iterate> be used for editable fields?


> 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.
>
> David
>
>
>
> >From: "Samit Goyal" <samit.goyal@tatainfotech.com>
> >Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >To: "strtus list" <struts-user@jakarta.apache.org>
> >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.
> >May
> >be that my problem was not clear. I am putting this again in a different
> >way.
> >
> >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.
> >
> >Regards,
> >Samit
> >
> >
> > > Hi all,
> > >
> > > I am having a JSP which contains 12 rows of editable fields. The each
> >row
> > > 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
> >automatically??
> > >
> > > Thanks in Advance.
> > > Regards,
> > > samit
> > >
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


Mime
View raw message