[Zope-Checkins] CVS: Zope3 - zope.zcml:1.1.2.5
Tres Seaver
tseaver@zope.com
Tue, 20 Nov 2001 17:55:15 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv2541
Modified Files:
Tag: Zope-3x-branch
zope.zcml
Log Message:
- Yeehaw! FolderAdder works!
=== Zope3/zope.zcml 1.1.2.4 => 1.1.2.5 ===
>
+<security:definePermission name="Add folders" />
+
+<zmi:provideClass name="Zope.App.OFS.Folder"
+ permission="Add folders"
+ title="Son of Folder"
+ description="Minimal folder" />
+
<browser:presentation name="_traverse"
component="Zope.App.ZopePublication.Traversers.DefaultTraverser" />
<browser:presentation name="_traverse"
+ for="Zope.App.OFS.IContainer"
component="Zope.App.OFS.ContainerTraverser.ContainerTraverser" />
-<!--browser:presentation name="contents"
+<browser:presentation name="contents"
for="Zope.App.OFS.Folder.IFolder"
- component="Zope.App.OFS.FolderContents" /-->
+ component="Zope.App.OFS.FolderContents" />
<browser:defaultPresentation name="view"
for="Zope.App.OFS.Folder.IFolder"
@@ -22,6 +30,10 @@
<!--browser:defaultPresentation name="view"
for="Zope.App.OFS.RootFolder.IRootFolder"
component="Zope.App.OFS.FolderContents" /-->
+
+<browser:presentation name="adder"
+ for="Zope.App.OFS.Folder.IFolder"
+ component="Zope.App.OFS.FolderAdder" />
<include file='products.zcml' />