[Checkins] SVN: zc.extjs/branches/dev/src/zc/extjs/form.py Removed predefined EditForm.

Gintautas Miliauskas gintas at pov.lt
Mon Mar 31 14:01:06 EDT 2008


Log message for revision 85043:
  Removed predefined EditForm.
  

Changed:
  U   zc.extjs/branches/dev/src/zc/extjs/form.py

-=-
Modified: zc.extjs/branches/dev/src/zc/extjs/form.py
===================================================================
--- zc.extjs/branches/dev/src/zc/extjs/form.py	2008-03-31 17:04:25 UTC (rev 85042)
+++ zc.extjs/branches/dev/src/zc/extjs/form.py	2008-03-31 18:00:57 UTC (rev 85043)
@@ -165,12 +165,3 @@
 
     def browserDefault(self, request):
         return self, ()
-
-
-class EditForm(Form):
-
-    @zope.formlib.form.action("Apply")
-    def apply(self, action, data):
-        if zope.formlib.form.applyChanges(self.context, self.form_fields, data):
-            zope.event.notify(ObjectModifiedEvent(self.context))
-



More information about the Checkins mailing list