[Checkins] SVN: z3c.tabular/trunk/src/z3c/tabular/table.py add a default supportsCancel = False to TableBase

Adam Groszer cvs-admin at zope.org
Tue Jun 19 09:28:36 UTC 2012


Log message for revision 126967:
  add a default supportsCancel = False to TableBase

Changed:
  U   z3c.tabular/trunk/src/z3c/tabular/table.py

-=-
Modified: z3c.tabular/trunk/src/z3c/tabular/table.py
===================================================================
--- z3c.tabular/trunk/src/z3c/tabular/table.py	2012-06-19 06:30:32 UTC (rev 126966)
+++ z3c.tabular/trunk/src/z3c/tabular/table.py	2012-06-19 09:28:32 UTC (rev 126967)
@@ -21,7 +21,6 @@
 import zope.i18nmessageid
 
 from z3c.form import button
-from z3c.form import field
 from z3c.formui import form
 from z3c.table import table
 from z3c.template.template import getPageTemplate
@@ -30,6 +29,7 @@
 
 _ = zope.i18nmessageid.MessageFactory('z3c')
 
+
 # simple template rendering aware table base class
 class TemplateTable(table.Table):
     """Template aware teble."""
@@ -70,6 +70,7 @@
 
     # customize this part
     allowCancel = True
+    supportsCancel = False
 
     def update(self):
         # 1. setup widgets



More information about the checkins mailing list