1 Reply Latest reply on Aug 23, 2007 5:05 AM by Abdulla Abdurakhmanov

    reRender Calendar control problem

    Abdulla Abdurakhmanov Newbie

      Hi!
      I found for ajaxable form rerendering elements problem.
      If the calendar control rerendering from a4j:commandButton, then the input element loss the pattern format.

      Example:

      <rich:calendar
      id="myDate"
      value="#{MyBean.myDate}"
      inputType="readonly"
      popup="true"
      required="true"
      />

      <a4j:commandButton id="myButton" value="Do It" action="#{MyBean.doIt}" reRender="myDate"/>

      After successfully executed the action for button I see the incorrect date pattern "Wed Aug 22 00:00:00 MSD 2007" instead a default format.