0 Replies Latest reply on Jul 2, 2008 5:21 AM by leelavathic leelavathic

    Displaying message when rich:calendar value is in wrong form

    leelavathic leelavathic Novice

      I have given the rich:calendar in my code as editable which means user can enter any data. When I click on the submit button, the incorrect value gets cleared off and page doesn't get submitted as expected. But no user friendly error message is displayed.

      I tried both richfaces 3.1.3 and 3.2.1.

      I need to display a message when date format is incorrect.

      
      <rich:calendar id="startDate" resetTimeOnDateSelect="true" converterMessage="WRONG FORMAT" enableManualInput="true" datePattern="MMM dd yyyy, HH:mm" >