Hi,
I have registered a CustomDateEditor like this :
When i put "25/08/04" instead of "25/08/2004" in my field form, the date is ok for the customDateEditor and the date register is in fact : "25/08/0004".Code:SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy"); binder.registerCustomEditor(java.util.Date.class, null, new CustomDateEditor(dateFormat,false));
Is there a lenient property to stop the incorrect validation or another way ?
Thanks again,
Fabien.


Reply With Quote
