Subject: Re: Can I submit multiple fields of the same name?
From: Vic Cekvenich <[EMAIL PROTECTED]>
 ===
Yes.
One implementation is to let you FormBean implement iterator interface 
and and in the iterate tag use the index property.

I will in a few weeks update my example DB app to do this so you can see 
the code.
Vic

Mike Poole wrote:
> Hello.  I am writing an application where the form inputs will be generated
> from a database in a previous request.  For example, one call to Struts will
> result in a form being returned that contains ten (or any number of) check
> boxes named "problem".  The values will be tokens that uniquely identify
> each of the problems.  The user then selects which problems he wants to
> explore, and hits submit.  Multiple selections are allowed.
> 
> What happens when multiple fields of the same name get submitted?  Can the
> form bean handle this?  Will I be able to determine in my action class which
> ones were clicked?
> 
> Thanks,
> Mike
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to