[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - metaconfigure.py:1.5

Sidnei da Silva cvs-admin at zope.org
Wed Oct 22 15:13:55 EDT 2003


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

Modified Files:
	metaconfigure.py 
Log Message:
Missing default parameter on factory


=== Zope3/src/zope/app/browser/form/metaconfigure.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/form/metaconfigure.py:1.4	Tue Aug 12 08:47:55 2003
+++ Zope3/src/zope/app/browser/form/metaconfigure.py	Wed Oct 22 15:13:55 2003
@@ -115,7 +115,7 @@
         self.panes = []
 
     def _args(self):
-        return (self.name, self.schema, self.permission, self.layer, 
+        return (self.name, self.schema, self.permission, self.layer,
                 self.panes, self.fields, self.template, self.default_template,
                 self.bases, self.for_)
 
@@ -123,7 +123,7 @@
         for f in fields:
             if f not in self.fields:
                 raise ValueError(
-                    'Field name is not in schema', 
+                    'Field name is not in schema',
                     f, self.schema
                     )
         self.panes.append(Pane(fields, label))
@@ -217,7 +217,7 @@
             )
 
 class EditFormDirective(BaseFormDirective):
-    
+
     view = EditView
     default_template = 'edit.pt'
     usage = None
@@ -257,6 +257,7 @@
 
     view = AddWizardView
     default_template = 'addwizard.pt'
+    use_session = False
 
     def __call__(self):
         self._handle_menu()




More information about the Zope3-Checkins mailing list