[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication - zopepublication.zcml:1.3
Steve Alexander
steve@cat-box.net
Thu, 13 Jun 2002 12:20:39 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication
In directory cvs.zope.org:/tmp/cvs-serv4064
Modified Files:
zopepublication.zcml
Log Message:
Moved AbsoluteURL into a TraversalViews package, to cover both
AbsoluteURL and also ObjectName.
ObjectName is sort of like a minimal version of AbsoluteURL in that it
gets you the name the current object was traversed via.
It can be used as a view, as @@object_name or by getting an adapter
for IObjectName, as in getAdapter(obj, IObjectName)().
Also, I added a __call__ method to IAbsoluteURL, as it was needed for
security declarations.
=== Zope3/lib/python/Zope/App/ZopePublication/zopepublication.zcml 1.2 => 1.3 ===
factory=".Traversers.SimpleComponentTraverser." />
-<include package=".AbsoluteURL" file="config.zcml" />
+<include package=".TraversalViews" file="config.zcml" />
</zopeConfigure>