File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Unable to validate Mask attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Unable to validate Mask attribute" Watch "Unable to validate Mask attribute" New topic

Unable to validate Mask attribute

Dhan Raj

Joined: Jan 24, 2005
Posts: 12

Following is the code in validation.xml, I am not getting an error message for MASK attribute validations. Please Help!

<field property="size" depends="maxlength,mask">
<!-- This Field is Required, Numeric and MaxLength=3 -->
<arg0 key="aPDForm.size"></arg0>
<arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
Jason Menard

Joined: Nov 09, 2000
Posts: 6450
"Java Ranch",

Your display name is in violation of the JavaRanch naming policy which you should have read when you signed up for an account. Please have another look at it in case you missed it the first time and then change your display name in order to comply. Failure to do so may result in the disabling of your account. Thanks in advance and we look forward to seeing you around the Ranch.
I agree. Here's the link:
subject: Unable to validate Mask attribute
It's not a secret anymore!