/** * @see org.opencms.workplace.list.I_CmsListFormatter#format(java.lang.Object, java.util.Locale) */ public String format(Object data, Locale locale) { if ((data == null) || !(data instanceof CmsVersionWrapper)) { return ""; } CmsVersionWrapper version = (CmsVersionWrapper)data; return CmsHistoryListUtil.getDisplayVersion(version.toString(), locale); }
String label = Messages.get().container( Messages.GUI_COMPARE_VIEW_VERSION_1, CmsHistoryListUtil.getDisplayVersion(version, getLocale())).key(getLocale()); String iconPath = null; try {
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale()))); return ret;
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale())));
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale()))); return result;
key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion1, getLocale())})); out.println("</th><th>"); out.println( key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion2, getLocale())})); out.println("</th></tr>"); out.println("<tr><td> </td><td> </td></tr>"); key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion1, getLocale())})); out.print("'/></td>\n"); out.println("\t\t<td width='50%'><img src='"); key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion2, getLocale())})); out.print("'/></td>\n"); out.println("\t</tr>");
key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion1, getLocale())})); out.println("</th><th>"); out.println( key( Messages.GUI_COMPARE_VERSION_1, new String[] {CmsHistoryListUtil.getDisplayVersion(m_paramVersion2, getLocale())})); out.println("</th></tr>"); out.print("<tr><td><a href=\"");
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); version1Col.setWidth("35%"); version1Col.setSorteable(false); Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale()))); version2Col.setWidth("35%"); version2Col.setSorteable(false);
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); version1Col.setWidth("35%"); version1Col.setSorteable(false); Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale()))); version2Col.setWidth("35%"); version2Col.setSorteable(false);