4 Replies Latest reply on Apr 10, 2008 10:33 AM by h b

    Rich:Calendar

    h b Newbie

      Hello I'm trying to send an ajax event to the server when the date in my calendar changes...I haven't had much luck. Here is what I got:
      <rich:calendar id="clDate" value="#{bean.clDate}"
      valueChangeListener="#bean.clListener}">
      <a4j:support event="oninputchange" reRender="mainForm" />
      </rich:calendar>

      I've tried the following events: ondateselect, oninputchange, ondateselected, oninputchange...

      Some of them do send an event to the server but then in the listener evet.newValue returns the old value? For example if the date changes from 7th to 8th the new value is 7th?

      Thanks in addvance