Nested forms don't work because browsers don't handle them. The best practice so far as I know is to have one large form with multiple submission buttons that specify different values for a 'form type' form property which is inspected in the Action class that handles the request.
You can always nest regular beans in your form (I haven't nested DynaActionForms, but I'll bet it's possible), so you could let the controller populate your form completely, but only pay attention to the nested form subsection you care about for the given request. Make sense? -JT -----Original Message----- From: Miller, Jason [mailto:jmiller@;ostglobal.com] Sent: Friday, October 25, 2002 8:30 AM To: 'Struts Users Mailing List' Subject: RE: Nested html:form So you have two forms, and when one is submitted you want to include every element from both forms, and when the other is submitted, you want only the specific elements included? I think you will have to do some funky server manipulation to pull off this trick. Basically, it looks like you'll have to treat the whole thing as one big form, and then check which button was used to submit, then ignore (or include) the appropriate subset of formbean properties in your processing. If you can get the nested forms bit to work, then neato. > I want all the elements of the inside form to get submitted with the > request, but not vice versa. Also, I want to seperate forms.