Not able to display errors using DynaValidatorActionForm
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   S_M
Posted On:   Friday, October 29, 2004 07:29 AM

Errors are not getting displayed when DynaValidatorActionForm is used. here is my struts-config.xml input="/pages/ManageNewUser.jsp" name="ManageEditInfoForm" path="/pages/mannewuser" scope="request" type="com.nbd.dynaaffiliatesite.ManageNewUserAction"> the validation.xml property="firstname" depends="required,mask"> mask ^[a-z A-Z]*$ property="lastname" depends="required,   More>>

Errors are not getting displayed when DynaValidatorActionForm is used.


here is my struts-config.xml

			









input="/pages/ManageNewUser.jsp"
name="ManageEditInfoForm"
path="/pages/mannewuser"
scope="request"
type="com.nbd.dynaaffiliatesite.ManageNewUserAction">












the validation.xml

			


property="firstname" depends="required,mask">


mask
^[a-z A-Z]*$



property="lastname" depends="required,mask">


mask
^[a-z A-Z]*$



property="username" depends="required,mask">


mask
^[a-z A-Z]*$



property="role" depends="requiredArray">






In ManageNewUser.jsp i have tag

			
Errors get display fine if i use ValidatorForm.
I am not understanding where i am doing wrong.
If any further details are needed,Please let me know.
I'll post them too.

i am using
Tomcat4.1.30
struts 1.1


Thanks in advance


   <<Less

Re: Not able to display errors using DynaValidatorActionForm

Posted By:   Anonymous  
Posted On:   Saturday, October 30, 2004 06:51 AM

Use DynaValidatorForm in place of DynaValidatorActionForm.
About | Sitemap | Contact