/** * @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, CmsResourceComparisonDialog.COMPARE_ATTRIBUTES); 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[] {CmsResourceComparisonDialog.COMPARE_ATTRIBUTES}); params.put(PARAM_RESOURCE, new String[] {getParamResource()}); // forward to the difference screen getToolManager().jspForwardTool(this, "/history/comparison/difference", params); }
/** * @see org.opencms.workplace.tools.I_CmsHtmlIconButton#buttonHtml(org.opencms.workplace.CmsWorkplace) */ @Override public String buttonHtml(CmsWorkplace wp) { return ((CmsAttributeComparisonList)wp).getViewVersionButtonHtml( new CmsUUID(((CmsAttributeComparisonList)wp).getParamId2()), ((CmsAttributeComparisonList)wp).getParamVersion2()); } };
/** * @see org.opencms.workplace.tools.I_CmsHtmlIconButton#buttonHtml(org.opencms.workplace.CmsWorkplace) */ @Override public String buttonHtml(CmsWorkplace wp) { return ((CmsAttributeComparisonList)wp).getViewVersionButtonHtml( new CmsUUID(((CmsAttributeComparisonList)wp).getParamId2()), ((CmsAttributeComparisonList)wp).getParamVersion2()); } };