[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder - folder.zcml:1.1.2.1
Jim Fulton
jim@zope.com
Tue, 12 Feb 2002 19:50:09 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder
In directory cvs.zope.org:/tmp/cvs-serv15314/Zope/App/OFS/Folder
Added Files:
Tag: Zope-3x-branch
folder.zcml
Log Message:
decomposed zope configuration into separate package configs
=== Added File Zope3/lib/python/Zope/App/OFS/Folder/folder.zcml ===
<zopeConfigure
xmlns='http://namespaces.zope.org/zope'
xmlns:security='http://namespaces.zope.org/security'
xmlns:zmi='http://namespaces.zope.org/zmi'
xmlns:browser='http://namespaces.zope.org/browser'
>
<zmi:provideClass name="Zope.App.OFS.Folder."
permission_id="Zope.ManageContent"
title="Son of Folder"
description="Minimal folder" />
<security:protectClass name="Zope.App.OFS.Folder.FolderContents."
permission_id="Zope.View" methods="index" />
<browser:view name="contents"
for="Zope.App.OFS.Folder.Folder.IFolder."
factory="Zope.App.OFS.Folder.FolderContents." />
<browser:defaultView name="view"
for="Zope.App.OFS.Folder.Folder.IFolder."
factory="Zope.App.OFS.Folder.FolderContents." />
<!--browser:defaultView name="view"
for="Zope.App.OFS.RootFolder.IRootFolder"
factory="Zope.App.OFS.Folder.FolderContents" /-->
<security:protectClass name="Zope.App.OFS.Folder.FolderAdder."
permission_id="Zope.ManageContent" methods="index, confirmed, action" />
<security:protectClass name="Zope.App.OFS.Folder."
permission_id="Zope.View" />
<browser:view name="adder"
for="Zope.App.OFS.Folder.Folder.IFolder."
factory="Zope.App.OFS.Folder.FolderAdder." />
<!-- tabs for folder -->
<zmi:tabs for="Zope.App.OFS.Folder.Folder.IFolder.">
<zmi:tab label="Contents" action="contents;view"/>
<zmi:tab label="Role Permissions" action="RolePermissionsManagement;view"/>
</zmi:tabs>
</zopeConfigure>