[Checkins]
SVN: z3c.form/branches/pcardune-tweaks/src/z3c/form/button.txt
Stephanification
Paul Carduner
paulcarduner at gmail.com
Wed Jun 20 20:54:11 EDT 2007
Log message for revision 76871:
Stephanification
Changed:
U z3c.form/branches/pcardune-tweaks/src/z3c/form/button.txt
-=-
Modified: z3c.form/branches/pcardune-tweaks/src/z3c/form/button.txt
===================================================================
--- z3c.form/branches/pcardune-tweaks/src/z3c/form/button.txt 2007-06-21 00:30:04 UTC (rev 76870)
+++ z3c.form/branches/pcardune-tweaks/src/z3c/form/button.txt 2007-06-21 00:54:11 UTC (rev 76871)
@@ -88,8 +88,8 @@
>>> actions['apply']
<CustomButtonAction 'form.buttons.apply' u'Apply'>
-Alternatively, modify customize an individual button by setting its
-actionFactory attribute.
+Alternatively, you can customize an individual button by setting its
+``actionFactory`` attribute.
>>> def customButtonActionFactory(request, field):
... print "Just to let you know, this is a custom button."
@@ -103,7 +103,7 @@
>>> actions['apply'].css
'happy'
-But lets not digress to much and get rid of this customization
+But let's not digress too much and get rid of this customization
>>> form.buttons['apply'].actionFactory = None
>>> actions.update()
More information about the Checkins
mailing list