Using the DynaValidatorForm, how do you get the form variable data out of the form inside the action? All examples I've seen are purely the setup and none show the action getting the values.

My struts-config.xml:
       <form-bean
           name="loginForm"
           type="org.apache.struts.action.DynaValidatorForm">
           <form-property name="username" type="java.lang.String"/>
           <form-property name="password" type="java.lang.String"/>
       </form-bean>

My validation.xml:
 <form name="loginForm">
   <field property="username" depends="required">
     <arg0 key="label.username"/>
   </field>
   <field property="password" depends="required">
     <arg0 key="label.password"/>
   </field>
 </form>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to