/** * Performs the dialog actions depending on the initialized action.<p> * * @throws JspException if dialog actions fail */ public void displayReport() throws JspException { // save initialized instance of this class in request attribute for included sub-elements getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, this); switch (getAction()) { case ACTION_REPORT_END: case ACTION_CANCEL: actionCloseDialog(); break; case ACTION_REPORT_UPDATE: setParamAction(REPORT_UPDATE); getJsp().include(FILE_REPORT_OUTPUT); break; case ACTION_REPORT_BEGIN: case ACTION_CONFIRMED: case ACTION_DEFAULT: default: I_CmsReportThread thread = initializeThread(); thread.start(); setParamAction(REPORT_BEGIN); setParamThread(thread.getUUID().toString()); getJsp().include(FILE_REPORT_OUTPUT); } }
fillParamValues(request); if (REPORT_UPDATE.equals(getParamAction())) { setAction(ACTION_REPORT_UPDATE); } else if (REPORT_BEGIN.equals(getParamAction())) { setAction(ACTION_REPORT_BEGIN); } else if (REPORT_END.equals(getParamAction())) { setAction(ACTION_REPORT_END); } else if (DIALOG_CANCEL.equals(getParamAction())) { setAction(ACTION_CANCEL); } else { setAction(ACTION_DEFAULT); if (DIALOG_INITIAL.equals(getParamAction()) || (getParamAction() == null)) { validateParameters(); } catch (Exception e) { setAction(ACTION_CANCEL); try { actionCloseDialog(); } catch (JspException e1) {
/** * @see org.opencms.workplace.CmsDialog#actionCloseDialog() */ @Override public void actionCloseDialog() throws JspException { getSettings().setListObject(null); super.actionCloseDialog(); }
/** * @see org.opencms.workplace.CmsDialog#actionCloseDialog() */ @Override public void actionCloseDialog() throws JspException { getSettings().setListObject(null); super.actionCloseDialog(); }
/** * Performs the dialog actions depending on the initialized action.<p> * * @throws JspException if dialog actions fail */ public void displayReport() throws JspException { // save initialized instance of this class in request attribute for included sub-elements getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, this); switch (getAction()) { case ACTION_REPORT_END: case ACTION_CANCEL: actionCloseDialog(); break; case ACTION_REPORT_UPDATE: setParamAction(REPORT_UPDATE); getJsp().include(FILE_REPORT_OUTPUT); break; case ACTION_REPORT_BEGIN: case ACTION_CONFIRMED: case ACTION_DEFAULT: default: I_CmsReportThread thread = initializeThread(); thread.start(); setParamAction(REPORT_BEGIN); setParamThread(thread.getUUID().toString()); getJsp().include(FILE_REPORT_OUTPUT); } }
fillParamValues(request); if (REPORT_UPDATE.equals(getParamAction())) { setAction(ACTION_REPORT_UPDATE); } else if (REPORT_BEGIN.equals(getParamAction())) { setAction(ACTION_REPORT_BEGIN); } else if (REPORT_END.equals(getParamAction())) { setAction(ACTION_REPORT_END); } else if (DIALOG_CANCEL.equals(getParamAction())) { setAction(ACTION_CANCEL); } else { setAction(ACTION_DEFAULT); if (DIALOG_INITIAL.equals(getParamAction()) || (getParamAction() == null)) { validateParameters(); } catch (Exception e) { setAction(ACTION_CANCEL); try { actionCloseDialog(); } catch (JspException e1) {