Author: rahul
Date: Tue Nov 7 13:41:16 2006
New Revision: 472288
URL: http://svn.apache.org/viewvc?view=rev&rev=472288
Log:
Add comment about placing the token component as the last input component in the enclosing
form, to Javadoc and TLD.
SHALE-306 (in the absence of a catch-all of documentation)
Modified:
shale/framework/trunk/shale-core/src/main/java/org/apache/shale/component/Token.java
shale/framework/trunk/shale-core/src/main/resources/META-INF/taglib.tld
Modified: shale/framework/trunk/shale-core/src/main/java/org/apache/shale/component/Token.java
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-core/src/main/java/org/apache/shale/component/Token.java?view=diff&rev=472288&r1=472287&r2=472288
==============================================================================
--- shale/framework/trunk/shale-core/src/main/java/org/apache/shale/component/Token.java (original)
+++ shale/framework/trunk/shale-core/src/main/java/org/apache/shale/component/Token.java Tue
Nov 7 13:41:16 2006
@@ -31,7 +31,8 @@
/**
* <p>Component that renders a transaction token input field, and then
- * validates it on a subsequent form submit.</p>
+ * validates it on a subsequent form submit. The token component must
+ * be the last input component child of the parent form to be processed.</p>
*
* $Id$
*/
Modified: shale/framework/trunk/shale-core/src/main/resources/META-INF/taglib.tld
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-core/src/main/resources/META-INF/taglib.tld?view=diff&rev=472288&r1=472287&r2=472288
==============================================================================
--- shale/framework/trunk/shale-core/src/main/resources/META-INF/taglib.tld (original)
+++ shale/framework/trunk/shale-core/src/main/resources/META-INF/taglib.tld Tue Nov 7 13:41:16
2006
@@ -100,7 +100,8 @@
<display-name>Token</display-name>
<description>
Render a hidden input field whose value is the transaction token
- for the containing form.
+ for the containing form. The token component must be the last
+ input component child of the parent form to be processed.
</description>
<!-- Custom -->
|