[Zope3-checkins] CVS: Zope3/src/zope/app/publication - configure.zcml:1.3

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


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

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/publication/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/publication/configure.zcml:1.2	Wed Dec 25 09:13:08 2002
+++ Zope3/src/zope/app/publication/configure.zcml	Mon Dec 30 18:50:30 2002
@@ -4,16 +4,24 @@
    xmlns:xmlrpc='http://namespaces.zope.org/xmlrpc'
 >
 
-<browser:view name="_traverse" 
- for="zope.interface.Interface"
- factory="zope.app.publication.traversers.SimpleComponentTraverser" />
+<browser:page 
+    name="_traverse" 
+    for="zope.interface.Interface"
+    class="zope.app.publication.traversers.SimpleComponentTraverser" 
+    permission="zope.Public"
+    />
 
-<browser:view name="_traverse" 
- for="zope.app.interfaces.content.file.IFileContent"
- factory="zope.app.publication.traversers.FileContentTraverser" />
+<browser:view 
+    name="_traverse" 
+    for="zope.app.interfaces.content.file.IFileContent"
+    factory="zope.app.publication.traversers.FileContentTraverser" 
+    permission="zope.Public"
+    />
 
-  <xmlrpc:view name="_traverse" 
-   for="zope.interface.Interface"
-   factory="zope.app.publication.traversers.SimpleComponentTraverser" />
+<xmlrpc:view 
+    name="_traverse" 
+    for="zope.interface.Interface"
+    factory="zope.app.publication.traversers.SimpleComponentTraverser" 
+    />
 
 </zopeConfigure>