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

    Calendar changes erraneous input

    Thor Kummer Newbie

      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"/>