[Zope3-checkins] CVS: Zope3/src/zope/app/xmlrpc - configure.zcml:1.4

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


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

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/xmlrpc/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/xmlrpc/configure.zcml:1.3	Wed Mar  3 05:38:59 2004
+++ Zope3/src/zope/app/xmlrpc/configure.zcml	Wed Mar 17 13:24:29 2004
@@ -1,20 +1,30 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
-    xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc">
+    xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc"
+    >
 
-<xmlrpc:view 
-    name="_traverse" 
-    for="zope.interface.Interface"
-    class="zope.app.publication.traversers.SimpleComponentTraverser" />
+  <view 
+      for="zope.interface.Interface"
+      type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
+      provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
+      factory="zope.app.publication.traversers.SimpleComponentTraverser"
+      permission="zope.Public"
+      />
 
-<xmlrpc:view
-    name="_traverse" 
-    for="zope.app.container.interfaces.IItemContainer"
-    class="zope.app.container.traversal.ItemTraverser" />
+  <view 
+      for="zope.app.container.interfaces.IItemContainer"
+      type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
+      provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
+      factory="zope.app.container.traversal.ItemTraverser"
+      permission="zope.Public"
+      />
 
-<xmlrpc:view
-    name="_traverse" 
-    for="zope.app.container.interfaces.IReadContainer"
-    class="zope.app.container.traversal.ContainerTraverser" />
+  <view 
+      for="zope.app.container.interfaces.IReadContainer"
+      type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
+      provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
+      factory="zope.app.container.traversal.ContainerTraverser"
+      permission="zope.Public"
+      />
 
 </configure>




More information about the Zope3-Checkins mailing list