BEAN - the bean type of binder@FunctionalInterface public interface BinderValidationStatusHandler<BEAN> extends SerializableEventListener
BinderValidationStatus changes.
Register an instance of this class to be able to customize validation status
handling.
The default handler will show
an error message for failed field validations. For bean level validation
errors it will display the first error message in
status label, if one has
been set.
BinderValidationStatus,
Binder.validate(),
BindingValidationStatus| Modifier and Type | Method and Description |
|---|---|
void |
statusChange(BinderValidationStatus<BEAN> statusChange)
Invoked when the validation status has changed in binder.
|
void statusChange(BinderValidationStatus<BEAN> statusChange)
statusChange - the changed statusCopyright © 2018 Vaadin Ltd. All rights reserved.