/** * Show an informational message with the default title. * * @param message Text message */ public static void showInfo(String message) { showInfo(message, "@fujion.prompt.info.title"); }
/** * Aborts any shutdown in progress. * * @param message Optional message to send to user. */ public void abortShutdown(String message) { if (shutdown) { updateShutdown(0); message = StringUtils.isEmpty(message) ? StrUtil.getLabel("cwf.sessionmonitor.shutdown.abort.message") : message; MessageWindow mw = page.getChild(MessageWindow.class); if (mw != null) { MessagePane mp = new MessagePane(); mp.setTitle(StrUtil.getLabel("cwf.sessionmonitor.shutdown.abort.title")); mp.addClass("flavor:alert-success"); mp.addChild(new Label(message)); mw.addChild(mp); } else { DialogUtil.showInfo(message); } } }