[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - simpleviewclass.py:1.3

Albertas Agejevas alga@codeworks.lt
Fri, 31 Jan 2003 05:46:21 -0500


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv30168/src/zope/app/pagetemplate

Modified Files:
	simpleviewclass.py 
Log Message:
Added context propagation to some generated classes.


=== Zope3/src/zope/app/pagetemplate/simpleviewclass.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pagetemplate/simpleviewclass.py:1.2	Wed Dec 25 09:13:06 2002
+++ Zope3/src/zope/app/pagetemplate/simpleviewclass.py	Fri Jan 31 05:46:18 2003
@@ -21,8 +21,9 @@
 from zope.publisher.interfaces.browser import IBrowserPublisher
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 from zope.security.checker import defineChecker, NamesChecker
+from zope.proxy.context import ContextAware
 
-class simple(BrowserView):
+class simple(ContextAware, BrowserView):
 
     __implements__ = IBrowserPublisher, BrowserView.__implements__