[Zope3-checkins] CVS: Zope3/src/zope/app/demo/insensitivefolder -
configure.zcml:1.3
Philipp von Weitershausen
philikon at philikon.de
Wed Mar 17 13:24:54 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/demo/insensitivefolder
In directory cvs.zope.org:/tmp/cvs-serv24200/app/demo/insensitivefolder
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/demo/insensitivefolder/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/demo/insensitivefolder/configure.zcml:1.2 Tue Mar 9 07:38:38 2004
+++ Zope3/src/zope/app/demo/insensitivefolder/configure.zcml Wed Mar 17 13:24:23 2004
@@ -4,13 +4,22 @@
i18n_domain="zope">
-<!-- Register the Traverser -->
-<browser:page
- name="_traverse"
- for=".ICaseInsensitiveFolder"
- class=".CaseInsensitiveContainerTraverser"
- permission="zope.Public"
- />
+ <!-- Register the Traverser -->
+ <view
+ for=".ICaseInsensitiveFolder"
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
+ factory=".CaseInsensitiveContainerTraverser"
+ provides="zope.publisher.interfaces.browser.IBrowserPublisher"
+ permission="zope.Public"
+ />
+
+ <view
+ for=".ICaseInsensitiveFolder"
+ type="zope.publisher.interfaces.xmlrpc.IXMLRPCRequest"
+ factory=".CaseInsensitiveContainerTraverser"
+ provides="zope.publisher.interfaces.xmlrpc.IXMLRPCPublisher"
+ permission="zope.Public"
+ />
<!-- Case-insensitive Folder Registration -->
<factory
More information about the Zope3-Checkins
mailing list