Class MasterDetailScreen.ValidationEvent

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

public static class MasterDetailScreen.ValidationEvent extends EventObject
Event sent when screen is validated from MasterDetailScreen.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: