Re: Instantiating multiple forms in a single action
Posted By:
Jason_Taylor
Posted On:
Tuesday, April 2, 2002 09:25 AM
My guess is that you need to instantiate the category forms "manually" in the Action class associated with the whole page/form submission, and make it available to the form by putting it into the request object with the name of the form that you set up in your struts config file. In other words, you can only associate your form with one action, so that action has to get the actionform beans for all the individual sub-forms. Whether you are submitting all the forms together as one or individually (using some other mechanism to maintain state like the session) is up to you.