posted 16 years ago
Dont know if this fits your requirement, but it's worth a try
1) Write a class that does the validation for you:
2) Add a new validator to validation-rules.xml with the above class as the validator
3) Use this validator in validation.xml
Hope this has been clear. Good luck.