1 Reply Latest reply on Sep 15, 2008 5:36 AM by Ilya Shaikovsky

    rich:ajaxValidator doesn't work inside rich:calendar

    Juergen Zimmermann Master

      I'm using rich:calendar being coupled with an entity's field of type java.util.Date. This field is annotated with @Past of Hibernate Validator. So far everything is working fine.

      Now I want to use the new <rich:ajaxValidator>, but had no success in catching the event when a date is selected. Any hint is appreciated!

      This is my code fragment:

      <h:outputLabel value="#{i18n['createEinenKunden.seit']}" for="seit"/>
      <rich:calendar id="seit"
       <rich:ajaxValidator event="onchange" reRender="seit, fehlermeldungSeit"/>
      <rich:message id="fehlermeldungSeit" for="seit" errorClass="error">
       <f:facet name="errorMarker">
       <h:graphicImage url="/images/error.gif"/>