• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Common validation framework issue

 
Ranch Hand
Posts: 55
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic