0 Replies Latest reply on Mar 12, 2008 12:13 PM by Shivdeep Krishna

    <rich:calendar> doesnt accept java.util.Calendar in Seam 2.0

    Shivdeep Krishna Newbie


      I have been trying to use java.util.Calendar with rich:calendarbut have had no success. JIRA issue RF-933 says this has been fixed in RochFaces 3.1.3 and 3.2.0. I am using Seam 2.0.1 GA which I believe contains RichFaces 3.1.3. Any help would be appreciated.


      <rich:calendar id="dob" value="#{person.dob}" popup="true" required="true" />


      import java.util.Calendar;
      public class Person extends Party {
       public Person() {}
       private Calendar dob;
       public Calendar getDob() {
       return dob;
       public void setDob(Calendar dob) {
       this.dob = dob;

      Error Message:

      /registration.xhtml @40,107 value="#{person.dob}": java.lang.IllegalArgumentException: argument type mismatch