[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
viewmeta.py:1.45
Garrett Smith
garrett at mojave-corp.com
Fri Apr 9 10:19:07 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv11414/src/zope/app/publisher/browser
Modified Files:
viewmeta.py
Log Message:
Added support for page lookup for a view when the view has a
'publishTraverse' method. This is something I had missed in an earlier
checkin.
=== Zope3/src/zope/app/publisher/browser/viewmeta.py 1.44 => 1.45 ===
--- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.44 Thu Apr 8 11:34:02 2004
+++ Zope3/src/zope/app/publisher/browser/viewmeta.py Fri Apr 9 10:18:36 2004
@@ -294,6 +294,9 @@
if name in pages:
return getattr(self, pages[name])
+ view = zapi.queryView(self, name, request)
+ if view is not None:
+ return view
m = class_.publishTraverse.__get__(self)
return m(request, name)
More information about the Zope3-Checkins
mailing list