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
Win a copy of
Node.js in Action
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>
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Regarding validation_rules.xml file
Client Side XML Pagination
About "reentrant" in the ejb-jar.xml
batch file script problem
.jsp vs .js
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014