1 Reply Latest reply on Jan 26, 2009 5:15 AM by Ilya Shaikovsky

    rich:calendar requires double click to work

    E Aish Novice

      Hi,

      I am using the following rich:calendar component as given below. At times, the date has to be selected twice for the action in the "reRender" to take place.Please let me know if I am missing any option.

      (Compare date is a javascript function to compare from and to date. I have included the "to" date alone in the sample below.

      Thanks
      Aish


      <rich:calendar id="VolumnByDay_FromDate"
      value="#{BarCharts.sourceProvider.dailyChartFromDate}" popup="true"
      datePattern="#{BarCharts.sourceProvider.pattern}" enableManualInput="true"
      showApplyButton="false" style="width:150px"
      disabled='#{BarCharts.sourceProvider.selected == true}'>

      <a4j:support ajaxSingle="true" event="ondateselected"
      reRender="VolumnByDay_oPanel" id="VolumnByDay_support"
      onsubmit="CompareDates('myForm:_id40:VolumnByDay_FromDateInputDate','myForm:_id40:VolumnByDay_ToDateInputDate')"/>
      </rich:calendar>