2 Replies Latest reply on Apr 12, 2010 4:14 PM by nbelaevski

    Problem with Calendar, getting a type mismatch error

    gbadavidson

      I have need to enter a date on my application. and I have the following in my web page:

       

      <rich:calendar datePattern="MM/dd/yyyy" enableManualInput="true"
            value="#{personBean.person.birthDate}" popup="true">
      </rich:calendar>

       

      The personBean.person.birthDate field is defined as a java.sql.Date.  When I try to submit I get the following error:

       

      java.lang.IllegalArgumentException: argument type mismatch

       

      Thanks for your help