To reference an existing bean method that performs custom validation:
A dialog appears for you to select a managed bean name and the method that performs validation.
          This inserts the validator attribute on the selected 
          component.
        
<h:inputText id="date" 
             value="#{MyBean.date}" ... 
             validator="#{MyBean.validateDate}" />     
    
      About Custom JSF Validators
Registering a Custom Converter or Validator in an Application
Registering a Custom Validator on a Component
Creating and Registering a New Validator Method on a Component
Registering a Standard Validator on a Component
    
Copyright © 1997, 2004, Oracle. All rights reserved.