From: optilude <svn...@pl...> - 2006-09-02 22:18:37
|
Author: optilude Date: Sat Sep 2 22:18:33 2006 New Revision: 10764 Modified: plone.app.portlets/trunk/plone/app/portlets/configure.zcml Log: We need to load the name chooser explicitly Modified: plone.app.portlets/trunk/plone/app/portlets/configure.zcml ============================================================================== --- plone.app.portlets/trunk/plone/app/portlets/configure.zcml (original) +++ plone.app.portlets/trunk/plone/app/portlets/configure.zcml Sat Sep 2 22:18:33 2006 @@ -31,6 +31,7 @@ provides="zope.publisher.interfaces.browser.IBrowserPublisher" /> + <!-- Set up assignment mapping permissions --> <class class=".storage.PortletAssignmentMapping"> <require permission="zope2.View" @@ -46,4 +47,14 @@ /> </class> + <!-- Register the name chooser explicitly - including zope.app.container + seems to cause other conflicts with Five and Plone + --> + + <adapter + provides="zope.app.container.interfaces.INameChooser" + for="plone.portlets.interfaces.IPortletAssignmentMapping" + factory="zope.app.container.contained.NameChooser" + /> + </configure> |