Does anyone have a solution to this:
"I have a simple bean with a java.util.Date property named "dateOfBirth" with
get/set methods.
I tried setting its value through
JSF's configuration file:
...
<managed-property>
<property-class>java.util.Date</property-class>
<property-name>dateOfBirth</property-name>
<value>02-15-2005</value>
</managed-property>
...
I'm getting:
Feb 15, 2005 11:38:09 AM com.sun.faces.application.ApplicationAssociate createAndMaybeStoreManagedBeans
SEVERE: Managedbean user could not be created Can't instantiate class: '02-15-2005'.
javax.faces.FacesException: Can't instantiate class: '02-15-2005'.
I tried various date formats but haven't succeeded.
Perhaps there is no internal converter for this type of class?"
This is on a Sun
Thread but no one really responeded. I am having the same problem. Anyone have a solution?