[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - viewmeta.py:1.8
Albertas Agejevas
alga@codeworks.lt
Fri, 31 Jan 2003 05:46:49 -0500
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv30168/src/zope/app/publisher/browser
Modified Files:
viewmeta.py
Log Message:
Added context propagation to some generated classes.
=== Zope3/src/zope/app/publisher/browser/viewmeta.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.7 Tue Dec 31 15:15:52 2002
+++ Zope3/src/zope/app/publisher/browser/viewmeta.py Fri Jan 31 05:46:16 2003
@@ -41,7 +41,7 @@
from zope.app.security.permission import checkPermission
-from zope.proxy.context import ContextMethod
+from zope.proxy.context import ContextMethod, ContextAware
from zope.app.publisher.browser.globalbrowsermenuservice \
import menuItemDirective
@@ -455,7 +455,7 @@
return for_
-class simple(BrowserView):
+class simple(ContextAware, BrowserView):
__implements__ = IBrowserPublisher, BrowserView.__implements__