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]

Reply via email to