[Zope3-checkins] CVS: Zope3/src/zope/app/container - configure.zcml:1.7 traversal.py:1.5
Jim Fulton
jim@zope.com
Fri, 7 Feb 2003 10:48:40 -0500
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv23045/container
Modified Files:
configure.zcml traversal.py
Log Message:
Cleaned up the layout of the browser configuration a bit.
Moved some container traversal browser configs from zope.app.container
to zope.app.browser.
=== Zope3/src/zope/app/container/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/container/configure.zcml:1.6 Mon Feb 3 10:08:29 2003
+++ Zope3/src/zope/app/container/configure.zcml Fri Feb 7 10:48:40 2003
@@ -24,32 +24,6 @@
factory=".directory.noop"
/>
- <browser:page
- name="_traverse"
- for="zope.app.interfaces.container.IItemContainer"
- class="zope.app.container.traversal.ItemTraverser"
- permission="zope.Public"
- />
-
- <browser:page
- name="_traverse"
- for="zope.app.interfaces.container.ISimpleReadContainer"
- class="zope.app.container.traversal.ContainerTraverser"
- permission="zope.Public"
- />
-
- <xmlrpc:view
- name="_traverse"
- for="zope.app.interfaces.container.IItemContainer"
- factory="zope.app.container.traversal.ItemTraverser"
- />
-
- <xmlrpc:view
- name="_traverse"
- for="zope.app.interfaces.container.IReadContainer"
- factory="zope.app.container.traversal.ContainerTraverser"
- />
-
<adapter factory="zope.app.container.traversal.ContainerTraversable"
provides="zope.app.interfaces.traversing.ITraversable"
for="zope.app.interfaces.container.IReadContainer"
=== Zope3/src/zope/app/container/traversal.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/container/traversal.py:1.4 Sat Dec 28 12:49:25 2002
+++ Zope3/src/zope/app/container/traversal.py Fri Feb 7 10:48:40 2003
@@ -29,6 +29,8 @@
from zope.exceptions import NotFoundError
from zope.component.exceptions import ComponentLookupError
+# Note that the next two classes are included here because they
+# can be used for multiple view types.
class ContainerTraverser: