/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions() */ @Override public void executeListSingleActions() throws IOException, ServletException { // forward to the edit module screen Map params = new HashMap(); params.put(CmsHistoryList.PARAM_VERSION_1, getParamVersion1()); params.put(CmsHistoryList.PARAM_VERSION_2, getParamVersion2()); params.put(CmsHistoryList.PARAM_ID_1, getParamId1()); params.put(CmsHistoryList.PARAM_ID_2, getParamId2()); params.put(PARAM_COMPARE, "properties"); params.put(PARAM_RESOURCE, getParamResource()); // forward to the difference screen getToolManager().jspForwardTool(this, "/history/comparison/difference", params); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions() */ @Override public void executeListSingleActions() throws IOException, ServletException { // forward to the edit module screen Map<String, String[]> params = new HashMap<String, String[]>(); params.put(CmsHistoryList.PARAM_VERSION_1, new String[] {getParamVersion1()}); params.put(CmsHistoryList.PARAM_VERSION_2, new String[] {getParamVersion2()}); params.put(CmsHistoryList.PARAM_ID_1, new String[] {getParamId1()}); params.put(CmsHistoryList.PARAM_ID_2, new String[] {getParamId2()}); params.put(PARAM_COMPARE, new String[] {"properties"}); params.put(PARAM_RESOURCE, new String[] {getParamResource()}); // forward to the difference screen getToolManager().jspForwardTool(this, "/history/comparison/difference", params); }
/** * * @see org.opencms.workplace.CmsWorkplace#initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest) */ @Override protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { super.initWorkplaceRequestValues(settings, request); try { m_resource1 = CmsResourceComparisonDialog.readResource( getCms(), new CmsUUID(getParamId1()), getParamVersion1()); m_resource2 = CmsResourceComparisonDialog.readResource( getCms(), new CmsUUID(getParamId2()), getParamVersion2()); } catch (CmsException e) { LOG.error(e.getLocalizedMessage(), e); } m_resourceType = m_resource1.getTypeId(); }
/** * * @see org.opencms.workplace.CmsWorkplace#initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest) */ @Override protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { super.initWorkplaceRequestValues(settings, request); try { m_resource1 = CmsResourceComparisonDialog.readResource( getCms(), new CmsUUID(getParamId1()), getParamVersion1()); m_resource2 = CmsResourceComparisonDialog.readResource( getCms(), new CmsUUID(getParamId2()), getParamVersion2()); } catch (CmsException e) { LOG.error(e.getLocalizedMessage(), e); } m_resourceType = m_resource1.getTypeId(); }