New issue:
I register / bind my custom property editor and get a java.lang.IllegalArgumentException - as expected. Problem: I do not know how to create my own error message if the binding does not work.
Any idea? thank!
@InitBinder( { "playerCreationBean" } )
protected void initBinder( final WebDataBinder binder )
{
binder.registerCustomEditor(Date.class, new DatePropertyEditor());
}
source
share