[Zope3-checkins] CVS: Zope3/src/zope/app/container/browser - metaconfigure.py:1.2

Jim Fulton jim at zope.com
Mon Mar 15 15:42:11 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/container/browser
In directory cvs.zope.org:/tmp/cvs-serv3046/src/zope/app/container/browser

Modified Files:
	metaconfigure.py 
Log Message:
Updated to reflect changes in the view directive.


=== Zope3/src/zope/app/container/browser/metaconfigure.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/container/browser/metaconfigure.py:1.1	Sat Mar 13 21:17:02 2004
+++ Zope3/src/zope/app/container/browser/metaconfigure.py	Mon Mar 15 15:41:40 2004
@@ -55,16 +55,17 @@
 
     if contents is not None:
         page(_context, name='contents.html', permission=contents,
-            for_=for_, class_=Contents, attribute='contents', menu='zmi_views',
-            title=_('Contents'))
+             for_=for_, class_=Contents, attribute='contents',
+             menu='zmi_views', title=_('Contents'))
             
     if index is not None:
         page(_context, name='index.html', permission=index, for_=for_, 
-            class_=Contents, attribute='contents')
+             class_=Contents, attribute='contents')
 
     if add is not None:
         viewObj = view(_context, name='+', menu='zmi_actions',
-                       title=_('Add'), for_=for_, permission=add, class_=Adding)
+                       title=_('Add'), for_=[for_], permission=add,
+                       class_=Adding)
         viewObj.page(_context, name='index.html', attribute='index')
         viewObj.page(_context, name='action.html', attribute='action')
         viewObj()




More information about the Zope3-Checkins mailing list