7 Replies Latest reply on Dec 24, 2008 5:32 AM by Ilya Shaikovsky

    [ASK] <rich:calendar/>, requiredMessage not working

    geu puspita Newbie

      Hi,
      I'm using <rich:calendar /> with the attribute "require" set to true.
      I want to override the default error message with my own message.
      I have set the "requiredMessage" but it still show the default message "Validation Error: Value is Required".

      This is what I did:

      <rich:calendar value="#{bindings.HolidayDate.inputValue}" datePattern="dd-MMM-yyyy" id="HolidayDate" required="#{bindings.HolidayDate.mandatory}" requiredMessage="Enter Holiday Date"/>
      


      I really need a clue, thanks a lot in advance..!