Dear all,
I've two Date fields in my form.I'm extending SimpleFormController.I've a command object for this form which is throwing a validation error when submitting the form.
Here is the error
Failed to convert property value of type [java.lang.String] to required type [java.util.Date] for property 'estimatedCompletionDate'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [java.util.Date] for property 'estimatedCompletionDate': no matching editors or conversion strategy found
Failed to convert property value of type [java.lang.String] to required type [java.util.Date] for property 'projectStartDate'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [java.util.Date] for property 'projectStartDate': no matching editors or conversion strategy found
Is there anyway to set automatically to the Date Object type or we need to manually convert it as DATE object ?
Does anyone has any idea on this? Please let me know.
Thanks,
Sekhar.


Reply With Quote
form validation is failing. I'm getting exception like this