aspose file tools*
The moose likes BEA/Weblogic and the fly likes Common validation framework issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Common validation framework issue" Watch "Common validation framework issue" New topic
Author

Common validation framework issue

Swapnil Dharane
Ranch Hand

Joined: Apr 22, 2012
Posts: 36
Here is one of my validation rule from validator.xml file
<field property="Fname" depends="mask">
<msg name="mask" key="errors.invalid" resource="false" />
<arg0 key="label.Fname" resource="false" />
<var>
<var-name>mask</var-name>
<!-- Should match any of the ones below -->
<var-value>^(TRUE|FALSE|true|false|[A-Z]{1})$</var-value>
</var>
</field>
As mentioned,resource attribute at both places is set to "false"
Still I am getting proper error messages from my properties file
Actually I should not get error messages rt?
and what does name attribute in msg element signify?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Common validation framework issue