You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2004/02/13 00:59:37 UTC
cvs commit: jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts ActionMessagesTool.java
nbubna 2004/02/12 15:59:37
Modified: src/java/org/apache/velocity/tools/struts
ActionMessagesTool.java
Log:
change recommended key
Revision Changes Path
1.7 +5 -5 jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/ActionMessagesTool.java
Index: ActionMessagesTool.java
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/src/java/org/apache/velocity/tools/struts/ActionMessagesTool.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ActionMessagesTool.java 7 Jan 2004 19:08:57 -0000 1.6
+++ ActionMessagesTool.java 12 Feb 2004 23:59:37 -0000 1.7
@@ -69,8 +69,8 @@
* <p>View tool to work with the Struts action messages.</p>
* <p><pre>
* Template example(s):
- * #if( $actionmsgs.exist() )
- * #foreach( $e in $actionmsgs.all )
+ * #if( $messages.exist() )
+ * #foreach( $e in $messages.all )
* $e <br>
* #end
* #end
@@ -78,7 +78,7 @@
* Toolbox configuration:
*
* <tool>
- * <key>actionmsgs</key>
+ * <key>messages</key>
* <scope>request</scope>
* <class>org.apache.velocity.tools.struts.ActionMessagesTool</class>
* </tool>
@@ -183,7 +183,7 @@
/**
* <p>
* This a convenience method and the equivalent of
- * <code>$actionmsgs.get($actionmsgs.globalName)</code>.
+ * <code>$messages.get($messages.globalName)</code>.
* </p>
* <p>
* Returns the set of localized action messages as an
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org