The validator must be provided a {@link Property}, unless one can be resolved from the component implicitly. By default the configuration contains the {@link DefaultPropertyResolver} so{@link PropertyModel}s are supported out of the box - when attached to a component with a property model the property does not need to be specified explicitly.
The validator will set the required flag on the form component it is attached to based on the presence of the @NotNull annotation. Notice, the required flag will only be set to {@code true}, components with the required flag already set to {@code true} will not have the flag set to{@code false} by this validator.
The validator will allow {@link ITagModifier}s configured in {@link BeanValidationConfiguration}to mutate the markup tag of the component it is attached to.
The validator specifies default error messages in the {@code PropertyValidator.properties} file.These values can be overridden in the application subclass' property files globally or in the page or panel properties locally. See this file for the default messages supported.
@author igor @param < T>
|
|