Anpassung ccm-zes-aplaws an Änderungen für forum-categorised.
git-svn-id: https://svn.libreccm.org/ccm/trunk@459 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
04557f2a9a
commit
4e880fedbe
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue