You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by xyz <sr...@yahoo.com> on 2007/03/13 16:27:38 UTC

Struts Question - multiple instances of an actionForm

Hi all,
 
Is there any standard ways to manage multiple instances of one form with
Struts? Say,I have application 
which is supposed to take theorerically unlimited number of person's
descriptions. Every time user 
clicks "add one more person" he/she gets exactly the same form (with the
same validation rules) to fill. He should be able to save individual details
and validate it seperately.So lets say there is a 'save' button which will
help us save individual details in session and a delete button which will
help us delete the saved details from session.At the end user clicks
"finish" and all saved data from session along with some common information
is to be handled for further processing. Is there any mechanism in Struts
supporting multiple instances. 
Any hints/ideas on achieving this?
 
Thanks

-- 
View this message in context: http://www.nabble.com/Struts-Question---multiple-instances-of-an-actionForm-tf3396667.html#a9456867
Sent from the Struts - Dev mailing list archive at Nabble.com.


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


Re: Struts Question - multiple instances of an actionForm

Posted by Martin Cooper <ma...@apache.org>.
Please ask questions about using Struts on the Struts User mailing list. The
Struts Dev list is for discussion of the development of Struts itself.

--
Martin Cooper


On 3/13/07, xyz <sr...@yahoo.com> wrote:
>
>
> Hi all,
>
> Is there any standard ways to manage multiple instances of one form with
> Struts? Say,I have application
> which is supposed to take theorerically unlimited number of person's
> descriptions. Every time user
> clicks "add one more person" he/she gets exactly the same form (with the
> same validation rules) to fill. He should be able to save individual
> details
> and validate it seperately.So lets say there is a 'save' button which will
> help us save individual details in session and a delete button which will
> help us delete the saved details from session.At the end user clicks
> "finish" and all saved data from session along with some common
> information
> is to be handled for further processing. Is there any mechanism in Struts
> supporting multiple instances.
> Any hints/ideas on achieving this?
>
> Thanks
>
> --
> View this message in context:
> http://www.nabble.com/Struts-Question---multiple-instances-of-an-actionForm-tf3396667.html#a9456867
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>