[Checkins] SVN: five.megrok.z3cform/branches/based-on-megrok.z3cform.base/src/five/megrok/z3cform/components.py override update so that it call the correct update method of the form
Jean-Francois Roche
jfroche at jfroche.be
Fri Sep 25 18:32:34 EDT 2009
Log message for revision 104559:
override update so that it call the correct update method of the form
Changed:
U five.megrok.z3cform/branches/based-on-megrok.z3cform.base/src/five/megrok/z3cform/components.py
-=-
Modified: five.megrok.z3cform/branches/based-on-megrok.z3cform.base/src/five/megrok/z3cform/components.py
===================================================================
--- five.megrok.z3cform/branches/based-on-megrok.z3cform.base/src/five/megrok/z3cform/components.py 2009-09-25 22:19:33 UTC (rev 104558)
+++ five.megrok.z3cform/branches/based-on-megrok.z3cform.base/src/five/megrok/z3cform/components.py 2009-09-25 22:32:34 UTC (rev 104559)
@@ -28,17 +28,29 @@
martian.baseclass()
+ def update(self):
+ form.Form.update(self)
+
class AddForm(GrokForm, form.AddForm):
martian.baseclass()
+ def update(self):
+ form.AddForm.update(self)
+
class EditForm(GrokForm, form.EditForm):
martian.baseclass()
+ def update(self):
+ form.EditForm.update(self)
+
class DisplayForm(GrokForm, form.DisplayForm):
martian.baseclass()
+
+ def update(self):
+ form.Form.update(self)
More information about the checkins
mailing list