struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r428783 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java
Date Fri, 04 Aug 2006 17:01:53 GMT
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 -->
  * 
- * &lt;-- Third Example --&gt;
+ * &lt;-- Fourth Example --&gt;
  * &lt;a:text name="some.key" /&gt;
  * 
- * &lt;-- Fourth Example --&gt;
+ * &lt;-- Fifth Example --&gt;
  * &lt;a:text name="some.invalid.key" &gt;
  *    The Default Message That Will Be Displayed
  * &lt;/a:text&gt;



Mime
View raw message