5 Replies Latest reply on Feb 18, 2010 9:55 AM by Vishal Agarwal

    Problem with rich:calendar

    alberto Gori Novice

      I have a calendar with popup button and with required value:

       

      <rich:calendar id="date" value="#{bean.date}" enableManualInput="true"  required="true">
                          <a4j:support ajaxSingle="true" event="onchanged"/>
                          <a4j:support ajaxSingle="true" event="oninputblur"/>
      </rich:calendar>
      <sia:message for="date"/>

       

      If the user enters in the input field and then he clicks the popup button immediately, an AJAX event is fired and error message is displayed. But the popup click is not listened (maybe because the AJAX request block the click event). The user need a further click on the button to display the popup.

       

      This behavior is quite annoying for users, is possible to find workaround? For example I could block the AJAX event if the user click the popup button. But I don't know how.