/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListIndepActions() */ @Override public void executeListIndepActions() { if (getParamListAction().equals(CmsListIndependentAction.ACTION_EXPLORER_SWITCH_ID)) { Map<String, String[]> params = new HashMap<String, String[]>(); // set action parameter to initial dialog call params.put(CmsDialog.PARAM_ACTION, new String[] {CmsDialog.DIALOG_INITIAL}); params.putAll(getToolManager().getCurrentTool(this).getHandler().getParameters(this)); getSettings().setCollector(getCollector()); getSettings().setExplorerMode(CmsExplorer.VIEW_LIST); getSettings().setExplorerProjectId(getProject().getUuid()); setShowExplorer(true); try { getToolManager().jspForwardPage(this, PATH_EXPLORER_LIST, params); } catch (Exception e) { throw new RuntimeException(e); } } else { super.executeListIndepActions(); } }
/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListIndepActions() */ @Override public void executeListIndepActions() { if (getParamListAction().equals(CmsListIndependentAction.ACTION_EXPLORER_SWITCH_ID)) { Map params = new HashMap(); // set action parameter to initial dialog call params.put(CmsDialog.PARAM_ACTION, CmsDialog.DIALOG_INITIAL); params.putAll(getToolManager().getCurrentTool(this).getHandler().getParameters(this)); getSettings().setCollector(getCollector()); getSettings().setExplorerMode(CmsExplorer.VIEW_LIST); getSettings().setExplorerProjectId(getProject().getUuid()); setShowExplorer(true); try { getToolManager().jspForwardPage(this, PATH_EXPLORER_LIST, params); } catch (Exception e) { throw new RuntimeException(e); } } else { super.executeListIndepActions(); } }