title: How to perform validation in JSF, how to create a custom validator in JSF
body: <p>I would like to perform validation in some of my input components such as <code>&lt;h:inputText&gt;</code> using some Java bean method. Should I use <code>&lt;f:validator&gt;</code> or <code>&lt;f:validateBean&gt;</code> for this? Where can I read more about it?</p>