diff options
author | Thomas Lotze <tl@gocept.com> | 2010-09-19 12:41:38 +0000 |
---|---|---|
committer | Thomas Lotze <tl@gocept.com> | 2010-09-19 12:41:38 +0000 |
commit | f59f469d7e4a7cb063d133d6258ff74a1f083553 (patch) | |
tree | 8c00f3aa711fc59b9ab68f7d5c162437bfb27d7a /src/zope/traversing | |
parent | 362c0a1d3099ce6b0da2cd345de4d07ba92d17f5 (diff) | |
download | zope-traversing-f59f469d7e4a7cb063d133d6258ff74a1f083553.tar.gz |
fixed zcml-related dependencies
Diffstat (limited to 'src/zope/traversing')
-rw-r--r-- | src/zope/traversing/browser/configure.zcml | 7 | ||||
-rw-r--r-- | src/zope/traversing/configure.zcml | 2 | ||||
-rw-r--r-- | src/zope/traversing/tests/ftesting.zcml | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/zope/traversing/browser/configure.zcml b/src/zope/traversing/browser/configure.zcml index a96fc78..9e6c0cc 100644 --- a/src/zope/traversing/browser/configure.zcml +++ b/src/zope/traversing/browser/configure.zcml @@ -2,6 +2,9 @@ xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser"> + <include file="meta.zcml" package="zope.component" /> + <include file="meta.zcml" package="zope.browserpage" /> + <view for="*" name="absolute_url" @@ -10,7 +13,7 @@ permission="zope.Public" allowed_interface=".interfaces.IAbsoluteURL" /> - + <view for="*" factory=".AbsoluteURL" @@ -27,7 +30,7 @@ permission="zope.Public" allowed_interface=".interfaces.IAbsoluteURL" /> - + <view for="zope.location.interfaces.IRoot" factory=".SiteAbsoluteURL" diff --git a/src/zope/traversing/configure.zcml b/src/zope/traversing/configure.zcml index 5fd8332..b631a4b 100644 --- a/src/zope/traversing/configure.zcml +++ b/src/zope/traversing/configure.zcml @@ -1,6 +1,8 @@ <configure xmlns="http://namespaces.zope.org/zope" xmlns:zcml="http://namespaces.zope.org/zcml"> +<include package="zope.component" file="meta.zcml" /> + <adapter for="*" factory="zope.traversing.adapters.Traverser" diff --git a/src/zope/traversing/tests/ftesting.zcml b/src/zope/traversing/tests/ftesting.zcml index bc4e131..b087a55 100644 --- a/src/zope/traversing/tests/ftesting.zcml +++ b/src/zope/traversing/tests/ftesting.zcml @@ -6,7 +6,6 @@ > <include package="zope.browserpage" file="meta.zcml" /> - <include package="zope.component" file="meta.zcml" /> <include package="zope.publisher" file="meta.zcml" /> <include package="zope.security" file="meta.zcml" /> @@ -14,8 +13,6 @@ <include package="zope.container" /> <include package="zope.location" /> <include package="zope.publisher" /> - <include package="zope.security" /> - <include package="zope.site" /> <include package="zope.traversing" /> <browser:defaultView name="index.html" /> |