/** * 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); } }
/** * 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); } }