husted 2004/01/01 14:39:59
Modified: src/share/org/apache/struts/taglib/bean WriteTag.java
Log:
Add notes regarding discovering localized notations, per research by Jason Lea.
Revision Changes Path
1.31 +12 -5
jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
Index: WriteTag.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- WriteTag.java 1 Jan 2004 19:27:19 -0000 1.30
+++ WriteTag.java 1 Jan 2004 22:39:59 -0000 1.31
@@ -316,7 +316,14 @@
/**
* Format value according to specified format string (as tag attribute or
* as string from message resources) or to current user locale.
- *
+ *
+ * When a format string is retrieved from the message resources,
+ * <code>applyLocalizedPattern</code> is used. For more about localized
+ * patterns, see <http://tinyurl.com/33y54>. (To obtain the correct
+ * value for some characters, you may need to view the file in a
+ * hex editor and then use the Unicode escape form in the
+ * property resources file.)
+ *
* @param valueToFormat value to process and convert to String
* @exception JspException if a JSP exception has occurred
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]