You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/08/04 19:01:53 UTC
svn commit: r428783 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java
Author: tmjee
Date: Fri Aug 4 10:01:53 2006
New Revision: 428783
URL: http://svn.apache.org/viewvc?rev=428783&view=rev
Log:
WW-1340
- added another example to javadoc snippet
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java?rev=428783&r1=428782&r2=428783&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java Fri Aug 4 10:01:53 2006
@@ -82,6 +82,11 @@
* <!-- Second Example -->
* <a:text name="main.title" />
*
+ * <!-- Third Examlpe -->
+ * <a:text name="i18n.label.greetings">
+ * <a:param >Mr Smith</a:param>
+ * </a:text>
+ *
* <!-- END SNIPPET: example -->
* </pre>
*
@@ -89,10 +94,10 @@
* <pre>
* <!-- START SNIPPET: i18nExample -->
*
- * <-- Third Example -->
+ * <-- Fourth Example -->
* <a:text name="some.key" />
*
- * <-- Fourth Example -->
+ * <-- Fifth Example -->
* <a:text name="some.invalid.key" >
* The Default Message That Will Be Displayed
* </a:text>