rich:ajaxValidator is a component designed to provide ajax validation
inside the inputs. It is designed like an a4j:support component but skips all JSF processing
Look to the first simple example. This component should be added as a child component
to input that should be validated and specify validation event. The component
is ajaxSingle by default so only the current field will be validated.
The component also provides a possibility to use Hibernate Validation for the target fields.
Look to the next example which is modified in order to use Hibernate Validators: