loops/layout/configure.zcml
helmutm fe193a538c target layout: also check individual object for sub-layouts, not only type
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3396 fd906abe-77d9-0310-91a1-e0d9ade77398
2009-05-23 07:18:50 +00:00

32 lines
906 B
XML

<!-- $Id$ -->
<configure
xmlns:zope="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="loops">
<zope:class class="loops.layout.base.LayoutNode">
<implements interface="zope.annotation.interfaces.IAttributeAnnotatable" />
<factory id="loops.LayoutNode" description="Layout Node" />
<require
permission="zope.View"
interface="loops.layout.interfaces.ILayoutNode" />
<require
permission="zope.ManageContent"
set_schema="loops.layout.interfaces.ILayoutNode" />
</zope:class>
<zope:adapter
factory="loops.layout.base.NodeLayoutInstance" />
<zope:adapter
name="subnodes"
factory="loops.layout.base.SubnodesLayoutInstance" />
<zope:adapter
name="target"
factory="loops.layout.base.TargetLayoutInstance" />
<include package=".browser" />
</configure>