[Checkins]
SVN: z3c.multiform/Sandbox/src/z3c/multiform/multiform.py
Test of form_reset in update. This allow to call
setUpWidgets() outside before update().
Stefan Martin
s.martin at iwm-kmrc.de
Mon Feb 5 08:20:27 EST 2007
Log message for revision 72367:
Test of form_reset in update. This allow to call setUpWidgets() outside before update().
Changed:
U z3c.multiform/Sandbox/src/z3c/multiform/multiform.py
-=-
Modified: z3c.multiform/Sandbox/src/z3c/multiform/multiform.py
===================================================================
--- z3c.multiform/Sandbox/src/z3c/multiform/multiform.py 2007-02-05 13:10:10 UTC (rev 72366)
+++ z3c.multiform/Sandbox/src/z3c/multiform/multiform.py 2007-02-05 13:20:26 UTC (rev 72367)
@@ -289,9 +289,9 @@
if not ignore_request:
self.setUpSubWidgets()
super(MultiFormBase,self).setUpWidgets(ignore_request=ignore_request)
- self.setUpForms(*args, **kw)
+ self.setUpForms()
- def setUpForm(self, name, item, inputMode, *args, **kw):
+ def setUpForm(self, name, item, inputMode):
prefix = self.prefix + '.sf.' + name
subForm = self.newSubForm(item)
if inputMode is not None and not inputMode:
@@ -303,7 +303,7 @@
subForm.setPrefix(prefix)
self.subForms[name] = subForm
- def setUpForms(self, *args, **kw):
+ def setUpForms(self):
self.forms = []
self.subForms = {}
for key, item in self.filter.items():
More information about the Checkins
mailing list