Skip to content

Commit

Permalink
Register traversers where they are defined, not in zope.traversing.
Browse files Browse the repository at this point in the history
This kill some more zope.app dependencies in zope.traversing.
  • Loading branch information
philikon committed Apr 5, 2006
1 parent 00d6444 commit bed2f66
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions configure.zcml
Expand Up @@ -67,4 +67,22 @@
<allow interface=".constraints.IItemTypePrecondition" />
</class>

<view
for="zope.app.container.interfaces.IItemContainer"
type="zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
factory="zope.app.container.traversal.ItemTraverser"
permission="zope.Public"
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher"
/>

<view
for="zope.app.container.interfaces.ISimpleReadContainer"
type="zope.publisher.interfaces.browser.IBrowserRequest"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
factory="zope.app.container.traversal.ItemTraverser"
permission="zope.Public"
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher"
/>

</configure>

0 comments on commit bed2f66

Please sign in to comment.