[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - GlobalBrowserMenuService.py:1.3
Jim Fulton
jim@zope.com
Thu, 20 Jun 2002 17:48:16 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv19679/lib/python/Zope/App/Publisher/Browser
Modified Files:
GlobalBrowserMenuService.py
Log Message:
Fixed a bunch of bugs that prevented custom add views from working.
=== Zope3/lib/python/Zope/App/Publisher/Browser/GlobalBrowserMenuService.py 1.2 => 1.3 ===
from Zope.Exceptions import DuplicationError, Unauthorized, Forbidden
from Zope.App.PageTemplate.Engine import Engine
-from Zope.App.ZopePublication.PublicationTraverse import PublicationTraverser
+from Zope.App.ZopePublication.Browser.PublicationTraverse \
+ import PublicationTraverser
class GlobalBrowserMenuService:
"""Global Browser Menu Service
@@ -74,8 +75,8 @@
if action:
try:
- v = traverser.traversePath(request, object, action)
-
+ v = traverser.traverseRelativeURL(
+ request, object, action)
# XXX
# tickle the security proxy's checker
# we're assuming that view pages are callable