Author: hlship
Date: Fri Sep 12 11:17:55 2008
New Revision: 694762
URL: http://svn.apache.org/viewvc?rev=694762&view=rev
Log:
TAPESTRY-2641: FormSupport.defer() javadoc says defered actions will be
executed after validation, but it's executed before
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/FormSupport.java
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/FormSupport.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/FormSupport.java?rev=694762&r1=694761&r2=694762&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/FormSupport.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/services/FormSupport.java
Fri Sep 12 11:17:55 2008
@@ -51,9 +51,11 @@
<T> void storeAndExecute(T component, ComponentAction<T> action);
/**
- * Defers a command until the end of the form submission. The command will
be executed after the Form's validate
- * notification, but before the Form's submit, success or failure
notifications. During a form render, runnables are
- * executed after the body of the form has rendered.
+ * Defers a command until the end of the form submission. The command will
be executed <em>before</em> the Form's
+ * validate notification, but after all other submit actions for the form
have been processed. This is used,
+ * primarily, to coordinate validations or other operations that involve
multiple components, when the order of the
+ * components can not be determined. During a form render, runnables are
executed after the body of the form has
+ * rendered.
*
* @param command to be executed
*/