1 Reply Latest reply on Jan 10, 2008 8:10 AM by Jeremy MARC

    problem refresh inputText style with validator

    Jeremy MARC Newbie

      Hi,

      I am trying to change the inputText css class with a validator.

      <h:inputText id="email" styleClass="text" validator="#{member.checkEmail}">
      


      In my validator :
      component.getAttributes().put("styleClass","failed");
      


      But the inputText class doesnt change until I refresh the page.

      Thank you for your help