[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder - folder.zcml:1.1.2.7
Jim Fulton
jim@zope.com
Tue, 26 Mar 2002 19:47:14 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder
In directory cvs.zope.org:/tmp/cvs-serv28160/lib/python/Zope/App/OFS/Folder
Modified Files:
Tag: Zope-3x-branch
folder.zcml
Log Message:
Merged in changes from contextual-directives branch.
Now, a leading dot in a dotted name implies the package the include
file was included from. It still defaults to ZopeProducts if a file
was not included via a package.
A few of the config files have been convered to use the
shorthand. The rest still can be converted.
I also checked this against Step 6 in the tutorial, which I will check
in in a moment.
=== Zope3/lib/python/Zope/App/OFS/Folder/folder.zcml 1.1.2.6 => 1.1.2.7 ===
>
-<zmi:provideClass name="Zope.App.OFS.Folder."
+<zmi:provideClass name=".Folder."
permission_id="Zope.ManageContent"
title="Son of Folder"
description="Minimal folder" />
-<security:protectClass name="Zope.App.OFS.Folder."
+<security:protectClass name=".Folder."
permission_id="Zope.View">
<security:instances permission_id="Zope.View" />
<security:protect
@@ -18,32 +18,32 @@
permission_id="Zope.ManageServices" />
</security:protectClass>
-<security:protectClass name="Zope.App.OFS.Folder.FolderContents."
+<security:protectClass name=".FolderContents."
permission_id="Zope.ManageContent"
methods="index, listContentInfo, remove, removeObjects,
confirmRemoved, addServiceManager"/>
-<security:protectClass name="Zope.App.OFS.Folder.FolderAdder."
+<security:protectClass name=".FolderAdder."
permission_id="Zope.ManageContent"
methods="index, confirmed, action, listAddableInfo" />
<browser:defaultView name="contents"
- for="Zope.App.OFS.Folder.Folder.IFolder."
- factory="Zope.App.OFS.Folder.FolderContents." />
+ for=".Folder.IFolder."
+ factory=".FolderContents." />
<browser:defaultView name="contents"
- for="Zope.App.OFS.Folder.Folder.IFolder."
+ for=".Folder.IFolder."
factory="Zope.App.OFS.Folder.FolderContents." />
<browser:view name="adder"
- for="Zope.App.OFS.Folder.Folder.IFolder."
+ for=".Folder.IFolder."
factory="Zope.App.OFS.Folder.FolderAdder." />
<!-- tabs for folder -->
-<zmi:tabs for="Zope.App.OFS.Folder.Folder.IFolder.">
+<zmi:tabs for=".Folder.IFolder.">
<zmi:tab label="Contents" action="contents;view"/>
<zmi:tab label="Role Permissions" action="RolePermissionsManagement;view"/>
</zmi:tabs>