Class StandardDetailView.AfterSaveEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<View<?>>
io.jmix.flowui.view.StandardDetailView.AfterSaveEvent
All Implemented Interfaces:
Serializable
Enclosing class:
StandardDetailView<T>

public static class StandardDetailView.AfterSaveEvent extends com.vaadin.flow.component.ComponentEvent<View<?>>
Event sent after saving the view data context.
Use this event listener to notify users after save, for example:
     @Subscribe
     protected void onAfterSave(AfterSaveEvent event) {
         notifications.show("Saved");
     }
 
See Also:
  • Constructor Details

    • AfterSaveEvent

      public AfterSaveEvent(View source)
  • Method Details

    • getDataContext

      public DataContext getDataContext()
      Returns:
      data context of the view