[Zope3-checkins] CVS: Zope3/src/zope/app/container - configure.zcml:1.5

Jim Fulton jim@zope.com
Mon, 30 Dec 2002 18:51:00 -0500


Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/container

Modified Files:
	configure.zcml 
Log Message:
Changed all single-page browser:view to use browser:page instead.

Got rid of superfluous defaultView directives.

Moved menu specifications into page tags, where possible.
 


=== Zope3/src/zope/app/container/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/container/configure.zcml:1.4	Sat Dec 28 10:35:27 2002
+++ Zope3/src/zope/app/container/configure.zcml	Mon Dec 30 18:50:29 2002
@@ -9,39 +9,49 @@
      provides="zope.app.interfaces.container.find.IFind"
      for="zope.app.interfaces.container.IReadContainer"
      permission="zope.ManageContent" 
-     factory="zope.app.container.find.FindAdapter" />
+     factory="zope.app.container.find.FindAdapter" 
+     />
 
-  <browser:view
+  <browser:page
       name="_traverse" 
       for="zope.app.interfaces.container.IItemContainer"
-      factory="zope.app.container.traversal.ItemTraverser" />
+      class="zope.app.container.traversal.ItemTraverser" 
+      permission="zope.Public"
+      />
 
-  <browser:view
+  <browser:page
       name="_traverse" 
       for="zope.app.interfaces.container.ISimpleReadContainer"
-      factory="zope.app.container.traversal.ContainerTraverser" />
+      class="zope.app.container.traversal.ContainerTraverser" 
+      permission="zope.Public"
+      />
 
   <xmlrpc:view
       name="_traverse" 
       for="zope.app.interfaces.container.IItemContainer"
-      factory="zope.app.container.traversal.ItemTraverser" />
+      factory="zope.app.container.traversal.ItemTraverser" 
+      />
 
   <xmlrpc:view
       name="_traverse" 
       for="zope.app.interfaces.container.IReadContainer"
-      factory="zope.app.container.traversal.ContainerTraverser" />
+      factory="zope.app.container.traversal.ContainerTraverser" 
+      />
 
   <adapter factory="zope.app.container.traversal.ContainerTraversable"
            provides="zope.app.interfaces.traversing.ITraversable"
-           for="zope.app.interfaces.container.IReadContainer" />
+           for="zope.app.interfaces.container.IReadContainer" 
+           />
 
   <adapter factory="zope.app.container.zopecontainer.ZopeContainerAdapter"
            provides="zope.app.interfaces.container.IZopeContainer"
-           for="zope.app.interfaces.container.IContainer" />
+           for="zope.app.interfaces.container.IContainer" 
+           />
 
   <adapter factory="zope.app.container.size.ContainerSized"
            provides="zope.app.interfaces.size.ISized"
-           for="zope.app.interfaces.container.IContainer" />
+           for="zope.app.interfaces.container.IContainer" 
+           />
            
   <event:subscribe 
       subscriber = ".dependency.CheckDependency"