0 Replies Latest reply on May 19, 2009 9:05 AM by Chris Werner

    reRender after Validation

    Chris Werner Newbie

      Hi,

      is it possible to trigger a reRender on a Component after Validation of a different Component?

      Example:

      <h:inputText id="input" value="#{bb.input_field}" validator="#{bb.validateInput}">
      <rich:ajaxValidator event="onblur" reRender="msg" />
      </h:inputText>
      
      <rich:message style="color: red;" for="input" />
      
      <h:outputText id="msg" value="#{bb.getMsg()}" style="color: red;" />
      


      The reRender of the outputText "msg" does not work. But I need to update this msg each time the validation of the input field takes place.

      Any ideas?
      Thx for your help.
      Chris