Class StandardEditor.ValidationEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.screen.StandardEditor.ValidationEvent
All Implemented Interfaces:
Serializable
Enclosing class:
StandardEditor<T>

public static class StandardEditor.ValidationEvent extends EventObject
Event sent when screen is validated from StandardEditor.validateAdditionalRules(ValidationErrors) call.
Use this event listener to perform additional screen validation, for example:
     @Subscribe
     protected void onScreenValidation(ValidationEvent event) {
         ValidationErrors errors = performCustomValidation();
         event.addErrors(errors);
     }
 
See Also: