/** * Stops the frontend controller. * <p> * {@inheritDoc} */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { String checkBeforeExitMsg = checkBeforeExitFrontAction(actionHandler, context); if (checkBeforeExitMsg!=null) { checkBeforeExitMsg = "<html>" + checkBeforeExitMsg + "<br><br>" + getTranslationProvider(context).getTranslation("exit.question.message", getLocale(context)) + "</html>"; getController(context).popupYesNo( getSourceComponent(context), getTranslationProvider(context).getTranslation("module.content.dirty.title", getLocale(context)), getIconFactory(context).getQuestionIconImageURL(), checkBeforeExitMsg, actualExitAction, null, context); } else { return actualExitAction.execute(actionHandler, context); } return false; }