fix common overrides.zcml
This commit is contained in:
parent
0e180bb229
commit
76e189ac45
2 changed files with 44 additions and 43 deletions
|
@ -1,44 +1,4 @@
|
|||
<configure
|
||||
xmlns="http://namespaces.zope.org/zope"
|
||||
xmlns:browser="http://namespaces.zope.org/browser">
|
||||
|
||||
<!-- ZCML declarations to override the default definitions -->
|
||||
|
||||
<browser:containerViews
|
||||
for="zope.app.folder.interfaces.IFolder"
|
||||
contents="zope.ManageContent"
|
||||
index="zope.ManageContent"
|
||||
add="zope.ManageContent"
|
||||
/>
|
||||
|
||||
<browser:page
|
||||
name="singleBranchTree.xml"
|
||||
for="zope.interface.interface.Interface"
|
||||
permission="zope.ManageContent"
|
||||
class="zope.app.rotterdam.xmlobject.XmlObjectView"
|
||||
attribute="singleBranchTree"
|
||||
/>
|
||||
|
||||
<browser:pages
|
||||
for="zope.container.interfaces.IReadContainer"
|
||||
permission="zope.ManageContent"
|
||||
class="zope.app.rotterdam.xmlobject.ReadContainerXmlObjectView">
|
||||
<browser:page
|
||||
name="children.xml"
|
||||
attribute="children"
|
||||
/>
|
||||
<browser:page
|
||||
name="singleBranchTree.xml"
|
||||
attribute="singleBranchTree"
|
||||
/>
|
||||
</browser:pages>
|
||||
|
||||
<browser:page
|
||||
for="zope.publisher.interfaces.INotFound"
|
||||
name="index.html"
|
||||
permission="zope.Public"
|
||||
template="notfound.pt"
|
||||
class="zope.app.exception.browser.notfound.NotFound"
|
||||
/>
|
||||
<configure xmlns="http://namespaces.zope.org/zope">
|
||||
|
||||
</configure>
|
||||
|
||||
|
|
|
@ -1,3 +1,44 @@
|
|||
<configure xmlns="http://namespaces.zope.org/zope">
|
||||
<configure
|
||||
xmlns="http://namespaces.zope.org/zope"
|
||||
xmlns:browser="http://namespaces.zope.org/browser">
|
||||
|
||||
<!-- ZCML declarations to override the default definitions -->
|
||||
|
||||
<browser:containerViews
|
||||
for="zope.app.folder.interfaces.IFolder"
|
||||
contents="zope.ManageContent"
|
||||
index="zope.ManageContent"
|
||||
add="zope.ManageContent"
|
||||
/>
|
||||
|
||||
<browser:page
|
||||
name="singleBranchTree.xml"
|
||||
for="zope.interface.interface.Interface"
|
||||
permission="zope.ManageContent"
|
||||
class="zope.app.rotterdam.xmlobject.XmlObjectView"
|
||||
attribute="singleBranchTree"
|
||||
/>
|
||||
|
||||
<browser:pages
|
||||
for="zope.container.interfaces.IReadContainer"
|
||||
permission="zope.ManageContent"
|
||||
class="zope.app.rotterdam.xmlobject.ReadContainerXmlObjectView">
|
||||
<browser:page
|
||||
name="children.xml"
|
||||
attribute="children"
|
||||
/>
|
||||
<browser:page
|
||||
name="singleBranchTree.xml"
|
||||
attribute="singleBranchTree"
|
||||
/>
|
||||
</browser:pages>
|
||||
|
||||
<browser:page
|
||||
for="zope.publisher.interfaces.INotFound"
|
||||
name="index.html"
|
||||
permission="zope.Public"
|
||||
template="notfound.pt"
|
||||
class="zope.app.exception.browser.notfound.NotFound"
|
||||
/>
|
||||
|
||||
</configure>
|
||||
|
|
Loading…
Add table
Reference in a new issue