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

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


Update of /cvs-repository/Zope3/src/zope/app/wiki/browser
In directory cvs.zope.org:/tmp/cvs-serv24200/app/wiki/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/wiki/browser/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/wiki/browser/configure.zcml:1.2	Tue Mar  2 09:25:03 2004
+++ Zope3/src/zope/app/wiki/browser/configure.zcml	Wed Mar 17 13:24:28 2004
@@ -172,10 +172,12 @@
 
   <!-- Register a browser-specific traverser --> 
 
-  <browser:page
-      name="_traverse" 
+  <view
       for="zope.app.wiki.interfaces.IWikiPage"
-      class="zope.app.wiki.traversal.WikiPageTraverser" 
-      permission="zope.Public" />
+      type="zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.publisher.interfaces.IPublishTraverse"
+      factory="zope.app.wiki.traversal.WikiPageTraverser"
+      permission="zope.Public"
+      />
 
 </configure>




More information about the Zope3-Checkins mailing list