File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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>
I agree. Here's the link:
subject: Regarding validation_rules.xml file
batch file script problem
Client Side XML Pagination
About "reentrant" in the ejb-jar.xml
.jsp vs .js
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013