Anpassung ccm-zes-aplaws an Änderungen für forum-categorised.

git-svn-id: https://svn.libreccm.org/ccm/trunk@459 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2010-06-13 08:12:09 +00:00
parent 04557f2a9a
commit 4e880fedbe
8 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<registry>
<!-- currently nothing to config
<config class="com.arsdigita.aplaws.AplawsConfig"
storage="ccm-zes-aplaws/aplaws.properties"/>
-->
</registry>

View File

@ -28,6 +28,8 @@ import com.arsdigita.cms.CMS;
import com.arsdigita.cms.ContentItem;
import com.arsdigita.cms.ui.authoring.*;
import com.arsdigita.kernel.ACSObject;
import com.arsdigita.london.terms.ui.ACSObjectCategoryPicker;
import com.arsdigita.london.terms.ui.TermWidget;
/**
* <p> cms specific Concrete implementation of
@ -58,8 +60,8 @@ public class ItemCategoryPicker extends ACSObjectCategoryPicker {
com.arsdigita.bebop.parameters.StringParameter)
*/
protected ACSObjectCategoryForm getForm(BigDecimalParameter root, StringParameter mode) {
s_log.debug("getForm");
return new ItemCategoryForm(root, mode, new TermWidget(mode, this));
s_log.debug("getForm");
return new ItemCategoryForm(root, mode, new TermWidget(mode, this));
}
@ -67,8 +69,8 @@ public class ItemCategoryPicker extends ACSObjectCategoryPicker {
* @see com.arsdigita.aplaws.ui.ACSObjectCategoryPicker#getObject()
*/
protected ACSObject getObject(PageState state) {
ContentItem item = CMS.getContext().getContentItem();
return item.getParent();
ContentItem item = CMS.getContext().getContentItem();
return item.getParent();
}