You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2011/09/07 02:17:52 UTC
svn commit: r1165938 - in
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib:
base/AbstractField.java components/Submit.java
Author: bobharner
Date: Wed Sep 7 00:17:52 2011
New Revision: 1165938
URL: http://svn.apache.org/viewvc?rev=1165938&view=rev
Log:
Fixed TAP5-1628 (Have Submit documentation explicitly state when the disabled attribute is evaluated), javadoc changes only.
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java?rev=1165938&r1=1165937&r2=1165938&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java Wed Sep 7 00:17:52 2011
@@ -46,8 +46,10 @@ public abstract class AbstractField impl
private String label;
/**
- * If true, then the field will render out with a disabled attribute (to turn off client-side behavior). Further, a
- * disabled field ignores any value in the request when the form is submitted.
+ * If true, then the field will render out with a disabled attribute
+ * (to turn off client-side behavior). When the form is submitted, disabled
+ * fields' values are ignored (not even validated), and the component's
+ * events, if any, are not fired.
*/
@Parameter("false")
private boolean disabled;
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java?rev=1165938&r1=1165937&r2=1165938&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Submit.java Wed Sep 7 00:17:52 2011
@@ -56,8 +56,10 @@ public class Submit implements ClientEle
private String event = EventConstants.SELECTED;
/**
- * If true, then the field will render out with a disabled attribute (to turn off client-side behavior). Further, a
- * disabled field ignores any value in the request when the form is submitted.
+ * If true, then the field will render out with a disabled attribute
+ * (to turn off client-side behavior). When the form is submitted, disabled
+ * fields' values are ignored (not even validated), and the component's
+ * events, if any, are not fired.
*/
@Parameter("false")
private boolean disabled;