aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes problem in DynaValidationForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problem in DynaValidationForm" Watch "problem in DynaValidationForm" New topic
Author

problem in DynaValidationForm

Narasimha Raju Naidu
Ranch Hand

Joined: Mar 23, 2007
Posts: 37
hi to all

i am not getting the parameter values whlie dispalying the errors. i am providing all my code here can any one help me regarding this



Form Bean class:URformBean.java


Action class:URAction.java



Form: urform.jsp



and
sucess page after sucessfully registered

struts-config.xml



validation.xml

[code]

<formset>
<form name="URForm">
<field
property="userName"
depends="required">
<arg0
name="required"
key="userName"
resourse="true"/>
</field>
<field
property="passOne"
depends="required">
<arg0
name="required"
key="passOne"
resourse="false"/>
</field>
<field
property="passTwo"
depends="required">
<arg0
name="required"
key="passTwo"
resourse="false"/>
</field>
<field
property="age"
depends="required,range">
<arg0
name="required"
key="age"
resourse="false"/>
<arg0
name="range"
key="age"
resourse="false"/>
<arg1
name="range"
key="${var:min}"
resourse="false"/>
<arg2
name="range"
key="${var:max}"
resourse="false"/>
<var>
<var-name>min</var-name>
<var-value>25</var-value>
</var>
<var>
<var-name>max</var-name>
<var-value>50</var-value>
</var>
</field>
<field
property="email"
depends="required,email">
<arg0
name="required"
key="email"
resourse="false"/>
<arg0
name="email"
key="email"
resurse="false"/>
</field>
</form>
</formset>



all the above are different source code and im not getting any errors or exceptions
can any one tell where i am doing mistakes


regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in DynaValidationForm