Hi,
we try to bind an object of type java.util.Date to a form. We have used the Birthdate example code to get it work. A date which is entered in the allowed format gets converted correctly when the form is submitted. Unfortunately, the other way around does not work. The date is printed out in the standard date format. Is the PropertyEditor only responsible for mapping strings in other objects? Should we use fmt:formatDate in the JSP to print out the date in the right format?
A second question is how we allow different formats for dates entered in the same form. Right now, we can only set one PropertyEditor which is responsible for the date datatype. Is there a way to register multiple PropertyEditors for one datatype?
Thanks in advance!


Reply With Quote