[CMF-checkins]
SVN: CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
- no need to hardcode the buttons in __call__
Yvo Schubbe
y.2006_ at wcm-solutions.de
Mon Jan 30 14:01:22 EST 2006
Log message for revision 41504:
- no need to hardcode the buttons in __call__
Changed:
U CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
-=-
Modified: CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py
===================================================================
--- CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py 2006-01-30 18:31:56 UTC (rev 41503)
+++ CMF/branches/tseaver-viewification/CMFDefault/browser/utils.py 2006-01-30 19:01:22 UTC (rev 41504)
@@ -5,7 +5,7 @@
class FormViewBase:
- def __call__(self, change='', change_and_view=''):
+ def __call__(self, **kw):
form = self.request.form
for button in self._BUTTONS:
if button['name'] in form:
More information about the CMF-checkins
mailing list