Problem with Custom Validator
Hi,
I was trying to develop a custom validator to check for all my validations.
Followed all the possible steps defined ....
Created a class that implements Validator Interface
Implemented validate() method
Registered the class in faces-config.xml, with a validator ID
Referred the validator in a component of my JSF page
Still, it is not working. However, the control is coming into custom validator's constructor, but not going into the validate() method.
Help me!!!
Thanks in advance.
Mercury.
[565 byte] By [
dmercurya] at [2007-11-27 9:29:46]

# 2
Are you using f:validator tag as a child of the component you want to validate with your custom validator? Or are you using the validator attribute of the component tag?
Try using the f:validator tag if you're not (and leave out the validator attribute). If that's not it, some code snippets would be helpful.
CowKing
# 6
lol
You can start by reading your responses!
Both Raymond and I have asked you to post code. Yet you ignore that. You're telling everyone here that you a) don't listen, b) want to waste our time, c) aren't actually having a big enough problem to work with us, and d) are a lazy bum. =)
No thanks. Even if you post code now, I wouldn't expect much help.
You really, really need to read this:
http://www.catb.org/~esr/faqs/smart-questions.html
CowKing