7 Replies Latest reply on Oct 2, 2009 6:42 AM by Ilya Shaikovsky

    rich:ajaxValidator, rerender and f:convertNumber?

    Tobias Keller Newbie

      Hi

      the rich:ajaxValidator tag has an rerender attribute which not rerender the panel so that the value in the inputText field is converted.


      Example:

      <!-- f:convertNumber works fine -->
       <a4j:commandButton value="Do"
       action="#{bean.do}"
       reRender="mainPanel" />
      
      <rich:panel id="mainPanel">
      
       <rich:extendedDataTable ...
      
       <rich:column ...
      
       <h:inputText id="price" value="#{bean.value}" size="5"
       validator="#{bean.validate}">
       <f:convertNumber maxFractionDigits="1" pattern="#,###,##0.0"/>
       <!-- after onblur event f:convertNumber does not work -->
       <rich:ajaxValidator event="onblur" rerender="mainPanel"/>
       </h:inputText>



      Why is rerender="mainPanel" not get the request in the "Conversion and Validation" phase?


      Best regards
      Tobi