mvc compat

This commit is contained in:
Keith Donald
2009-03-02 14:57:36 +00:00
parent a4a71943a8
commit a7c3d1ed2f

View File

@@ -20,6 +20,11 @@ package org.springframework.binding.validation;
* ${failureMessageCodePrefix}.${constraint}
* </pre>
*
* Notice how the constraint comes after model/property qualifiers in the default algorithm, while the original Spring
* MVC algorithm has the constraint come before. The default algorithm is believed to be more object oriented and
* generally preferred. The Spring MVC algorithm is supported for backwards compatibility and consistency with existing
* Spring MVC web applications.
*
* @author Keith Donald
*/
public class DefaultSpringMvcValidationFailureMessageCodesFactory extends ValidationFailureMessageCodesFactory {