[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder - folder.zcml:1.1.4.4.2.1

Jim Fulton jim@zope.com
Sun, 2 Jun 2002 10:35:17 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder
In directory cvs.zope.org:/tmp/cvs-serv29793/lib/python/Zope/App/OFS/Content/Folder

Modified Files:
      Tag: Zope3InWonderland-branch
	folder.zcml 
Log Message:
- Added template attribute to allow views to be created from a
  template source file.

- Added beginnings of a Zope debugger. This required seperating site
  and server configuration.

- Added the ability to specify a config file package in the
  zopeConfigure directive. Made "config.zcml" a default for the file
  attribute in the include directive.

- Fixed mapply to unwrap proxied objects. This was necessary once
  views became wrapped in proxies. We need to investigate why they
  weren't being wrapped before. 

- I updated enough system page templates and zcml directives so that:

  - Zope now starts. :)

  - The root folder contents listing can be viewed.

  Many more templates and zcml files need to be updated to reflect the
  way views are now handled.



=== Zope3/lib/python/Zope/App/OFS/Content/Folder/folder.zcml 1.1.4.4 => 1.1.4.4.2.1 ===
                          permission_id="Zope.View">
     <security:protect 
-              interface="Zope.ComponentArchitecture.IServiceManagerContainer.IReadServiceManagerContainer" 
+      interface="Zope.ComponentArchitecture.IServiceManagerContainer.IReadServiceManagerContainer" 
               permission_id="Zope.Public" />
     <security:protect 
-              interface="Zope.ComponentArchitecture.IServiceManagerContainer.IWriteServiceManagerContainer" 
+       interface="Zope.ComponentArchitecture.IServiceManagerContainer.IWriteServiceManagerContainer" 
               permission_id="Zope.ManageServices" />
     <security:protect
               interface="Zope.App.OFS.Container.IContainer.IReadContainer"
@@ -32,9 +32,9 @@
   <security:protectClass class=".RootFolder." like_unto=".Folder." /> 
 
   <zmi:tabs for=".Folder.IFolder.">
-    <zmi:tab label="Contents" action="contents;view"/>
+    <zmi:tab label="Contents" action="view::index.html"/>
     <zmi:tab label="Role Permissions" 
-             action="RolePermissionsManagement;view"/>
+             action="view::AllRolePermissions.html"/>
   </zmi:tabs>
 
 
@@ -82,13 +82,13 @@
 
 
   <zmi:tabs for="Zope.App.OFS.Container.IContainerLimit.">
-    <zmi:tab label="Limit" action="limit;view"/>
+    <zmi:tab label="Limit" action="view::limit"/>
   </zmi:tabs>
 
   <zmi:tabs for=".LoadedFolder.ILoadedFolder.">
-    <zmi:tab label="Contents" action="contents;view"/>
+    <zmi:tab label="Contents" action="view::contents"/>
     <zmi:tab label="Role Permissions" 
-             action="RolePermissionsManagement;view"/>
+             action="view::RolePermissionsManagement"/>
   </zmi:tabs>