You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ma...@apache.org on 2001/11/01 08:08:41 UTC
cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionError.java
martinc 01/10/31 23:08:41
Modified: src/share/org/apache/struts/action Tag: STRUTS_1_0_BRANCH
ActionError.java
Log:
Added documentation on placeholder syntax.
Submitted by: Tom Klaasen
Revision Changes Path
No revision
No revision
1.3.2.1 +8 -4 jakarta-struts/src/share/org/apache/struts/action/ActionError.java
Index: ActionError.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- ActionError.java 2001/02/21 00:35:41 1.3
+++ ActionError.java 2001/11/01 07:08:41 1.3.2.1
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v 1.3 2001/02/21 00:35:41 craigmcc Exp $
- * $Revision: 1.3 $
- * $Date: 2001/02/21 00:35:41 $
+ * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionError.java,v 1.3.2.1 2001/11/01 07:08:41 martinc Exp $
+ * $Revision: 1.3.2.1 $
+ * $Date: 2001/11/01 07:08:41 $
*
* ====================================================================
*
@@ -73,8 +73,12 @@
* message resources database) plus up to four placeholder objects that can
* be used for parametric replacement in the message text.
*
+ * The placeholder objects are referenced in the message text using the same
+ * syntax used by the JDK <code>MessageFormat</code> class. Thus, the first
+ * placeholder is '{0}', the second is '{1}', etc.
+ *
* @author Craig R. McClanahan
- * @version $Revision: 1.3 $ $Date: 2001/02/21 00:35:41 $
+ * @version $Revision: 1.3.2.1 $ $Date: 2001/11/01 07:08:41 $
*/
public class ActionError implements Serializable {
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>