public interface IConfirmationDialogController extends IOkCancelDialog
The confirmationDialog facelet expects a controller implementing this interface to control its behavior. The
controller defines the visibility of the dialog via the isPopupVisible
method. And when clicking on either
the OK or Cancel button, the respective action handlers are called.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canLeave(java.lang.String nextView,
com.liferay.portal.model.BaseModel<?> nextInput)
Intercepts navigation from this view to another by checking if the current editor is dirty.
|
cancelPressed, isPopupVisible, okPressed
java.lang.String canLeave(java.lang.String nextView, com.liferay.portal.model.BaseModel<?> nextInput)
nextView
- the id of the view to navigate tonextInput
- the editor input for the view being navigated to