[Checkins]
SVN: z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/zope.app.publication.zcml
Fix configuration, don't use browser:view for configure traverser.
Roger Ineichen
roger at projekt01.ch
Sat Mar 15 03:06:39 EDT 2008
Log message for revision 84658:
Fix configuration, don't use browser:view for configure traverser.
Note, the same is wrong in Zope, I'll fix that later because
this is not tested at all and I need to write some tests first
Changed:
U z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/zope.app.publication.zcml
-=-
Modified: z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/zope.app.publication.zcml
===================================================================
--- z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/zope.app.publication.zcml 2008-03-15 02:05:46 UTC (rev 84657)
+++ z3c.layer.pagelet/trunk/src/z3c/layer/pagelet/zope.app.publication.zcml 2008-03-15 07:06:38 UTC (rev 84658)
@@ -1,14 +1,14 @@
<configure
xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
i18n_domain="z3c">
- <browser:view
+ <view
for="zope.app.publication.interfaces.IFileContent"
+ type="z3c.layer.pagelet.IPageletBrowserLayer"
provides="zope.publisher.interfaces.browser.IBrowserPublisher"
- class="zope.app.publication.traversers.FileContentTraverser"
+ factory="zope.app.publication.traversers.FileContentTraverser"
permission="zope.Public"
- layer="z3c.layer.pagelet.IPageletBrowserLayer"
+ allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher"
/>
</configure>
More information about the Checkins
mailing list