| Author |
Common validation framework issue
|
Swapnil Dharane
Greenhorn
Joined: Apr 22, 2012
Posts: 25
|
|
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?
|
 |
 |
|
|
subject: Common validation framework issue
|
|
|