From: <mb...@re...> - 2004-12-05 10:48:47
|
Author: mbooth Date: 2004-12-05 11:40:38 +0100 (Sun, 05 Dec 2004) New Revision: 140 Modified: ccm-cms/trunk/src/com/arsdigita/cms/portlet/ContentItemPortlet.java Log: Fix bizarre, insufficiently explored bug in ContentItemPortlet which prevents the correct title being displayed in the output XML. Modified: ccm-cms/trunk/src/com/arsdigita/cms/portlet/ContentItemPortlet.java =================================================================== --- ccm-cms/trunk/src/com/arsdigita/cms/portlet/ContentItemPortlet.java 2004-12-04 15:15:38 UTC (rev 139) +++ ccm-cms/trunk/src/com/arsdigita/cms/portlet/ContentItemPortlet.java 2004-12-05 10:40:38 UTC (rev 140) @@ -41,6 +41,13 @@ return BASE_DATA_OBJECT_TYPE; } + public String getTitle() { + // I neither know or care why this works, but it does. + // Makes bebop:portlet have the correct title attribute + // mb...@re... 04/12/2004 + return ""; + } + public ContentItem getContentItem() { return (ContentItem) DomainObjectFactory.newInstance ((DataObject) get(ITEM)); |