You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to embed your own custom back button into a View, you can simply fire a FormBackEvent. This will automatically be propagated up the controller hierarchy and handled by the form controller to go "back" to the parent controller.
E.g.
Button back = new Button();
back.addActionListener(evt->{
evt.consume();
ActionSupport.dispatchEvent(new FormController.FormBackEvent(back));
});
E.g. You could use this pattern in your back button in the DishView class.
The text was updated successfully, but these errors were encountered:
If you want to embed your own custom back button into a View, you can simply fire a
FormBackEvent
. This will automatically be propagated up the controller hierarchy and handled by the form controller to go "back" to the parent controller.E.g.
E.g. You could use this pattern in your back button in the DishView class.
The text was updated successfully, but these errors were encountered: