4 Replies Latest reply on Dec 22, 2008 8:10 AM by Ilya Shaikovsky

    rich:calendar validatorMessage not working

    Vikas Sharma Newbie

      I am using rich:calendar. I provided validatorMessage as below to replace standard validation message.

      <rich:calendar value="#{backingBean.fromDate}"
      locale="en/US"
      enableManualInput="true" validatorMessage="#{msg.invalidDate}"
      datePattern="MM/dd/yyyy"
      showApplyButton="false"
      cellWidth="24"
      cellHeight="22px" inputSize="10"
      style="width:200px">
      />

      But it still shows default message as below:

      form:j_id169 '123/18/2008' could not be understood as date.


      Please let me know if I am missing something in order to replace validator standard message.

      Thanks,

      Vikas