[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser - FolderLimitEdit.py:1.3 configure.zcml:1.11

Stephan Richter srichter@cbu.edu
Fri, 19 Jul 2002 09:21:10 -0400


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

Modified Files:
	FolderLimitEdit.py configure.zcml 
Log Message:
Starting up Zope was broken. I fixed that by removing some more Formulator 
stuff. I will fix the Loaded Folder (which is broke now) when I come back,
since I have to run. 

I just also noticed there are still plenty of stale S{CONTENTOBJECT}Fields.py
files flying around.


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/FolderLimitEdit.py 1.2 => 1.3 ===
 # 
 ##############################################################################
 """
-
 $Id$
 """
-
-from Zope.App.Formulator.Form import Form
+from Zope.App.Forms.Views.Browser.FormView import FormView 
 from Zope.App.PageTemplate import ViewPageTemplateFile
 
 
-class FolderLimitEdit(Form):
+class FolderLimitEdit(FormView):
 
-    __implements__ = (Form.__implements__,)
+    #__implements__ = (Form.__implements__,)
 
     name = 'limitForm'     
     title = 'Folder Item Limit Form'
@@ -31,16 +29,3 @@
     _fieldViewNames = ['LimitFieldView']
 
     template = ViewPageTemplateFile('limit.pt')  
-
-
-class FolderLimitXULEdit(Form):
-
-    __implements__ = (Form.__implements__,)
-
-    name = 'limitForm'     
-    title = 'Folder Item Limit Form'
-    description = ('This edit form allows you to ...')
-
-    _fieldViewNames = ['XULLimitFieldView']
-
-    template = ViewPageTemplateFile('limit_xul.pt')


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/configure.zcml 1.10 => 1.11 ===
 
 </browser:view>
 
-<browser:view name="LimitFieldView"
-    for="Zope.App.OFS.Container.IContainerLimit."
-    factory=".LoadedFolderFields.LimitField. 
-             Zope.App.Formulator.Widgets.Browser.TextWidget." />
-
 <browser:menuItems menu="zmi_views"
     for="Zope.App.OFS.Container.IContainerLimit.">
   <browser:menuItem title="Limit" action="@@FolderLimitEditForm.html"/>