122123124125126127128
.maximumSize(10000) .build(); public void requestValidator(WebDataBinder binder) { binder.setValidator(new CommentRequestValidator(lorCodeService)); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }
212213214215216217218
} @InitBinder("form") public void requestValidator(WebDataBinder binder) { binder.setValidator(new RegisterRequestValidator()); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }
504505506507508509510
@InitBinder("form") public void requestValidator(WebDataBinder binder) { binder.setValidator(editTopicRequestValidator); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }
229230231232233234235
} @InitBinder("form") public void requestValidator(WebDataBinder binder) { binder.setValidator(new EditRegisterRequestValidator()); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }
445446447448449450451
@InitBinder("form") public void requestValidator(WebDataBinder binder) { binder.setValidator(addTopicRequestValidator); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }
228229230231232233234
} }); binder.registerCustomEditor(User.class, new UserPropertyEditor(userDao)); binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor()); }