[Jifty-commit] r7177 - jifty/trunk/lib/Jifty/Web/Form

Jifty commits jifty-commit at lists.jifty.org
Wed Jun 3 14:46:34 EDT 2009


Author: sartak
Date: Wed Jun  3 14:46:34 2009
New Revision: 7177

Modified:
   jifty/trunk/lib/Jifty/Web/Form/Element.pm

Log:
Doc submit => undef

Modified: jifty/trunk/lib/Jifty/Web/Form/Element.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Element.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Element.pm	Wed Jun  3 14:46:34 2009
@@ -94,6 +94,10 @@
 These actions are submitted when the event is fired. Any arguments 
 specified will override arguments submitted by form field.
 
+If you explicitly pass C<undef>, then all actions will be submitted.
+This can be useful in conjunction with an C<onclick> handler, since
+declaring an C<onclick> handler inentionally turns off action submission.
+
 =item disable => BOOLEAN
 
 If true, disable all form fields associated with the actions in


More information about the Jifty-commit mailing list