Hi,
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.
registration.xhtml:
<rich:calendar id="dob" value="#{person.dob}" popup="true" required="true" />
import java.util.Calendar; @Entity @Name("person") @Table(schema="public") public class Person extends Party { public Person() {} @Column(nullable=false) private Calendar dob; public Calendar getDob() { return dob; } public void setDob(Calendar dob) { this.dob = dob; } ...... ...... ...... }
/registration.xhtml @40,107 value="#{person.dob}": java.lang.IllegalArgumentException: argument type mismatch