[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/browser - configure.zcml:1.2

Philipp von Weitershausen philikon at philikon.de
Wed Mar 17 13:24:58 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/traversing/browser
In directory cvs.zope.org:/tmp/cvs-serv24200/app/traversing/browser

Modified Files:
	configure.zcml 
Log Message:


The traversing machinery now uses views providing an interface
(IPublishTraverse or subclassing interfaces) instead of views named
"_traverse".




=== Zope3/src/zope/app/traversing/browser/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/traversing/browser/configure.zcml:1.1	Sat Mar 13 22:44:08 2004
+++ Zope3/src/zope/app/traversing/browser/configure.zcml	Wed Mar 17 13:24:27 2004
@@ -2,24 +2,27 @@
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser">
 
-  <browser:page
-      name="_traverse"
+  <view
       for="zope.interface.Interface"
-      class="zope.app.publication.traversers.SimpleComponentTraverser"
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.publisher.interfaces.browser.IBrowserPublisher"
+      factory="zope.app.publication.traversers.SimpleComponentTraverser"
       permission="zope.Public"
       />
 
-  <browser:page
-      name="_traverse"
+  <view
       for="zope.app.container.interfaces.IItemContainer"
-      class="zope.app.container.traversal.ItemTraverser"
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.publisher.interfaces.browser.IBrowserPublisher"
+      factory="zope.app.container.traversal.ItemTraverser"
       permission="zope.Public"
       />
 
-  <browser:page
-      name="_traverse"
+  <view
       for="zope.app.container.interfaces.ISimpleReadContainer"
-      class="zope.app.container.traversal.ContainerTraverser"
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.publisher.interfaces.browser.IBrowserPublisher"
+      factory="zope.app.container.traversal.ItemTraverser"
       permission="zope.Public"
       />
 




More information about the Zope3-Checkins mailing list