A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Regarding validation_rules.xml file
Joined: May 22, 2005
Jun 01, 2007 04:22:00
We all know that validation_rules.xml file contains all the validation functions like date,credit card,email etc.
My question is , Can we add our own functions to that file ?
If so, what is the procedure ?
thanks in advance,
Joined: Feb 26, 2005
Jun 01, 2007 08:12:00
Yes you can very well do that.
Just define your own validating class and declare it in validator-rules.xml
you have to mention in the validator tag like this
methodParams="list of parameters"
in validation.xml say
<field property="blahblahblah" depends="myvalidationrule"></field>
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Regarding validation_rules.xml file
.jsp vs .js
About "reentrant" in the ejb-jar.xml
Client Side XML Pagination
batch file script problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015