/** * Returns the name of the export file.<p> * * @return the name of the export file */ protected String getExportFileName() { return m_parameters.getPath(); }
/** * Returns the name of the export file.<p> * * @return the name of the export file */ protected String getExportFileName() { return m_parameters.getPath(); }
/** * @see org.opencms.workplace.CmsWidgetDialog#actionCommit() */ @Override public void actionCommit() throws IOException, ServletException { List errors = new ArrayList(); // create absolute RFS path and store it in dialog object String exportFileName = OpenCms.getSystemInfo().getAbsoluteRfsPathRelativeToWebInf( OpenCms.getSystemInfo().getPackagesRfsPath() + File.separator + m_exportParams.getPath()); m_exportParams.setPath(exportFileName); setDialogObject(m_exportParams); Map params = new HashMap(); // set the name of this class to get dialog object in report params.put(CmsDatabaseExportReport.PARAM_CLASSNAME, this.getClass().getName()); // set style to display report in correct layout params.put(PARAM_STYLE, CmsToolDialog.STYLE_NEW); // set close link to get back to overview after finishing the import params.put(PARAM_CLOSELINK, CmsToolManager.linkForToolPath(getJsp(), "/database")); // redirect to the report output JSP getToolManager().jspForwardPage(this, EXPORT_ACTION_REPORT, params); // set the list of errors to display when saving failed setCommitErrors(errors); }