* change this template use File | Settings | File Templates.
*/
public class CustomerBinding implements WebBindingInitializer {
@Override
public void initBinder(WebDataBinder binder, WebRequest request) {
DateFormat dateFormat = new NumberDateFormat();
binder.registerCustomEditor(Date.class, new CustomDateEditor(
dateFormat, false));
binder.registerCustomEditor(java.sql.Date.class, new CustomDateEditor(
dateFormat, false));
}