Hi,
I am trying to change the inputText css class with a validator.
<h:inputText id="email" styleClass="text" validator="#{member.checkEmail}">
component.getAttributes().put("styleClass","failed");
I found the solution :
<a4j:support event="onblur" reRender="email" />