[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - ZMIViewService.py:1.1.2.9

Steve Alexander steve@cat-box.net
Mon, 1 Apr 2002 04:53:29 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI
In directory cvs.zope.org:/tmp/cvs-serv17619/lib/python/Zope/App/ZMI

Modified Files:
      Tag: Zope-3x-branch
	ZMIViewService.py 
Log Message:
Changed here -> context and container -> view
as described in http://collector.zope.org/Zope3-dev/43


=== Zope3/lib/python/Zope/App/ZMI/ZMIViewService.py 1.1.2.8 => 1.1.2.9 ===
 
         data = {
-            'here':         object,
-            'container':    getinnercontext(object),
-            'nothing':      None,
-        #    'request':      getattr( object, 'REQUEST', None ),
-            'user':         getSecurityManager().getPrincipal(),
+            'context': object,
+            'view': getinnercontext(object),
+            'nothing': None,
+        #    'request': getattr( object, 'REQUEST', None ),
+            'user': getSecurityManager().getPrincipal(),
             }
         return getEngine().getContext(data)