I have gotten two html:forms two work in a limited fashion with struts. Note that your always visible form, doesn't have to be connected with a struts action so the problems with actions wouldn't apply. Also, the rules for forms are different if you are using tiles since each tile has an action and I believe tiles works with Velocity.
Edgar > -----Original Message----- > From: Mike Kienenberger [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2003 6:34 PM > To: Struts Users Mailing List > Subject: How to reference multiple form beans from one > VelocityLayoutServlet set of page fragments? > > > I need to have two forms displayed on the same Velocity > template page. I > can receive a reference to one form bean via the > ActionMapping. I've been > unable to determine how to gain a reference to the second form bean. > > > Reference to how it could be done in pure jsp: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg22976.html Reference to how multiple forms may not work with Velocity: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06945.html Contrary reference that it might be possible to reference "multiple forms" with $form in Velocity: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05261.html Probably unimportant details: I'm using Struts 1.1, Tomcat 4.1.27, the Validator, and the VelocityLayoutServlet from Velocity-tools-1.0. I've got my layout broken out into the generic standard: layout header menu body footer I've got a form that is generally visible in the menu section. I have arbitrary forms that can appear in the body section, and these I plan to pass by the action mapping. I'm using org.apache.struts.validator.DynaValidatorForm for all Form Beans. Thanks! -Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]