1 Reply Latest reply on Sep 23, 2008 10:04 AM by ilya_shaikovsky

    Calendar changes erraneous input

    kummer

      I have rich:calendar component on my page with manual input enabled and my requirements call for wrong user input to be left as is after the validation fails and the page is re-rendered.

      But what happens is that if the user enters an invalid date, for example 25.9.200x, his input is changed to a date, for example 25.9.0200 or something similar, when the page is re-rendered.

      Is there a way to get the calendar component to leave wrong input as it was entered by the user, like a normal JSF component?


      Here is there relevant XHTML:

      <rich_calendar id="umsatzVon"
       enableManualInput="true"
       showFooter="false"
       showWeeksBar="false"
       value="#{serviceContext.umsatzVon}"
       locale="de"
       popup="true"
       datePattern="dd.MM.yyyy"
       showApplyButton="false"
       cellWidth="24px"
       cellHeight="22px"
       style="width:100px"/>