|
From: Juergen H. <ju...@in...> - 2005-03-12 11:21:27
|
Alef, I've just noticed your recent additions to the validation package: the RequiredFieldErrorProcessor and PropertyAccessExceptionProcessor strategies, to be configured on the DataBinder. This is a good idea, and in line with our earlier introduction of the MessageCodesResolver strategy! I've combined them into a single strategy, though, as there might be further binding errors to be processed in the future. The result is a single BindingErrorProcessor interface and DefaultBindingErrorProcessor implementation, featuring two methods: "processMissingFieldError" and "processPropertyAccessException". I hope this is OK with you. BTW, please use tabs! All the source files that you committed there used 4 spaces an indentation... Join Rob in the group of spaces hardliners, ehm, developers who sometimes forget to switch their preferred spaces to tabs when working on Spring core code ;-) Juergen |