[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Adding.py:1.15

Jim Fulton jim@zope.com
Wed, 4 Dec 2002 11:59:49 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv14184

Modified Files:
	Adding.py 
Log Message:
We do need to define index here so we can use it in subclasses.

We need a better way to refine views.


=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Adding.py 1.14 => 1.15 ===
--- Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Adding.py:1.14	Wed Dec  4 08:56:12 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Adding.py	Wed Dec  4 11:59:49 2002
@@ -23,6 +23,7 @@
 from Zope.ComponentArchitecture \
      import getView, getService, createObject, \
             queryFactory, queryView, getAdapter
+from Zope.App.PageTemplate import ViewPageTemplateFile
 from Zope.ContextWrapper import ContextMethod, getbaseobject
 from Zope.Proxy.ContextWrapper import ContextWrapper
 from Zope.Event import publish
@@ -92,6 +93,8 @@
     
     #
     ############################################################
+
+    index = ViewPageTemplateFile("add.pt")
 
     def addingInfo(self):
         """Return menu data"""