You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by dg...@apache.org on 2003/02/25 05:58:31 UTC
cvs commit: jakarta-struts/src/share/org/apache/struts/tiles DefinitionsFactoryConfig.java
dgraham 2003/02/24 20:58:30
Modified: src/share/org/apache/struts/action ActionMapping.java
Action.java
src/share/org/apache/struts/validator Resources.java
FieldChecks.java
src/share/org/apache/struts/util StrutsValidatorUtil.java
StrutsValidator.java RequestUtils.java
src/share/org/apache/struts/tiles
DefinitionsFactoryConfig.java
Log:
Documentation changes only.
Revision Changes Path
1.27 +6 -6 jakarta-struts/src/share/org/apache/struts/action/ActionMapping.java
Index: ActionMapping.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionMapping.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ActionMapping.java 6 Nov 2002 04:48:28 -0000 1.26
+++ ActionMapping.java 25 Feb 2003 04:58:29 -0000 1.27
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2001 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -174,7 +174,7 @@
* <p>Create (if necessary) and return an {@link ActionForward} that
* corresponds to the <code>input</code> property of this Action.
*
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
public ActionForward getInputForward() {
1.56 +8 -8 jakarta-struts/src/share/org/apache/struts/action/Action.java
Index: Action.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/Action.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- Action.java 16 Feb 2003 02:51:32 -0000 1.55
+++ Action.java 25 Feb 2003 04:58:29 -0000 1.56
@@ -8,7 +8,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -516,7 +516,7 @@
*
* @param request The servlet request we are processing
*
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
protected DataSource getDataSource(HttpServletRequest request) {
@@ -534,7 +534,7 @@
* <code><message-resources></code> element for the
* requested bundle
*
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
protected DataSource getDataSource(HttpServletRequest request,
String key) {
@@ -603,7 +603,7 @@
* <code><message-resources></code> element for the
* requested bundle
*
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
protected MessageResources getResources(HttpServletRequest request,
String key) {
1.9 +6 -6 jakarta-struts/src/share/org/apache/struts/validator/Resources.java
Index: Resources.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/validator/Resources.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Resources.java 28 Nov 2002 07:38:57 -0000 1.8
+++ Resources.java 25 Feb 2003 04:58:29 -0000 1.9
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -110,7 +110,7 @@
* Retrieve <code>ValidatorResources</code> for the module.
* @param application servlet context
*
- * @deprecated In Struts 1.1b3 This method can only return the resources for the default
+ * @deprecated In Struts 1.1 This method can only return the resources for the default
* module. Use getValidatorResources(HttpServletRequest, ServletContext)
* to get the resources for the current application module.
*/
1.5 +1 -1 jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java
Index: FieldChecks.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/validator/FieldChecks.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- FieldChecks.java 11 Feb 2003 15:48:35 -0000 1.4
+++ FieldChecks.java 25 Feb 2003 04:58:29 -0000 1.5
@@ -560,7 +560,7 @@
*
* Checks if a fields value is within a range (min & max specified in the
* vars attribute).</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link #validateIntRange(java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link #validateIntRange(java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletRequest)}
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
*@param field The <code>Field</code> object associated with the current
1.10 +11 -11 jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java
Index: StrutsValidatorUtil.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/StrutsValidatorUtil.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- StrutsValidatorUtil.java 25 Jan 2003 05:52:35 -0000 1.9
+++ StrutsValidatorUtil.java 25 Feb 2003 04:58:30 -0000 1.10
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -77,7 +77,7 @@
* <p>This class helps provides some useful methods for retrieving objects
* from different scopes of the application.</p>
*
- * @deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.Resources}
+ * @deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.Resources}
* @author David Winterfeldt
* @author Eddie Bush
* @version $Revision$ $Date$
@@ -103,7 +103,7 @@
/**
* Retrieve <code>ValidatorResources</code> for the module.
*
- * @deprecated In Struts 1.1b3 This method can only return the resources for the default
+ * @deprecated In Struts 1.1 This method can only return the resources for the default
* module. Use getValidatorResources(HttpServletRequest, ServletContext)
* to get the resources for the current application module.
*/
@@ -160,7 +160,7 @@
/**
* Gets the locale sensitive message based on the <code>ValidatorAction</code> message and the
* <code>Field</code>'s arg objects.
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.Resources#getMessage(MessageResources, Locale, ValidatorAction , Field)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.Resources#getMessage(MessageResources, Locale, ValidatorAction , Field)}
*/
public static String getMessage(MessageResources messages, Locale locale,
ValidatorAction va, Field field) {
@@ -170,7 +170,7 @@
/**
* Gets the <code>ActionError</code> based on the <code>ValidatorAction</code> message and the
* <code>Field</code>'s arg objects.
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.Resources#getActionError(HttpServletRequest, ValidatorAction, Field)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.Resources#getActionError(HttpServletRequest, ValidatorAction, Field)}
*/
public static ActionError getActionError(HttpServletRequest request,
ValidatorAction va, Field field) {
@@ -181,7 +181,7 @@
/**
* Gets the message arguments based on the current <code>ValidatorAction</code>
* and <code>Field</code>.
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.Resources#getArgs(String,MessageResources,Locale,Field)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.Resources#getArgs(String,MessageResources,Locale,Field)}
*/
public static String[] getArgs(String actionName, MessageResources messages,
Locale locale, Field field) {
@@ -191,7 +191,7 @@
/**
* Initialize the <code>Validator</code> to perform validation.
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.Resources#initValidator(String,Object,ServletContext,HttpServletRequest,ActionErrors,int)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.Resources#initValidator(String,Object,ServletContext,HttpServletRequest,ActionErrors,int)}
*
* @param key The key that the validation rules are under
* (the form elements name attribute).
1.14 +16 -16 jakarta-struts/src/share/org/apache/struts/util/StrutsValidator.java
Index: StrutsValidator.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/StrutsValidator.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- StrutsValidator.java 18 Oct 2002 03:41:10 -0000 1.13
+++ StrutsValidator.java 25 Feb 2003 04:58:30 -0000 1.14
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -72,7 +72,7 @@
* In general passin in a null or blank will return a null Object or a false
* boolean. However, nulls and blanks do not result in an error being added to the
* errors.
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks }
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks }
*
*@author David Winterfeldt
*@author James Turner
@@ -94,7 +94,7 @@
*
* Checks if the field isn't null and length of the field is greater than zero
* not including whitespace.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateRequired(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateRequired(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -120,7 +120,7 @@
*
* Checks if the field matches the regular expression in the field's mask attribute.
* </p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateMask(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateMask(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -144,7 +144,7 @@
* <p>
*
* Checks if the field can safely be converted to a byte primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateByte(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateByte(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -168,7 +168,7 @@
* <p>
*
* Checks if the field can safely be converted to a short primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateShort(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateShort(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -191,7 +191,7 @@
* <p>
*
* Checks if the field can safely be converted to an int primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateInteger(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateInteger(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -214,7 +214,7 @@
* <p>
*
* Checks if the field can safely be converted to a long primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateLong(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateLong(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -237,7 +237,7 @@
* <p>
*
* Checks if the field can safely be converted to a float primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateFloat(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateFloat(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -260,7 +260,7 @@
* <p>
*
* Checks if the field can safely be converted to a double primitive.</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateDouble(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateDouble(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -290,7 +290,7 @@
* variable is specified, then the field gets the DateFormat.SHORT format for
* the locale. The setLenient method is set to <code>false</code> for all variations.
* </p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateDate(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateDate(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
@@ -314,7 +314,7 @@
*
* Checks if a fields value is within a range (min & max specified in the
* vars attribute).</p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateIntRange(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateIntRange(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
*@param field The <code>Field</code> object associated with the current
@@ -336,7 +336,7 @@
* <p>
*
* Checks if the field is a valid credit card number.</p> <p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateCreditCard(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateCreditCard(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
* Translated to Java by Ted Husted (<a href="mailto:husted@apache.org">husted@apache.org
* </a>).<br>
@@ -365,7 +365,7 @@
* <p>
*
* Checks if a field has a valid e-mail address.</p> <p>
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateEmail(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateEmail(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*
* Based on a script by Sandeep V. Tamhankar (stamhankar@hotmail.com), http://javascript.internet.com
* </p>
@@ -394,7 +394,7 @@
* Checks if the field's length is less than or equal to the maximum value.
* A <code>Null</code> will be considered an error.</p>
*
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateMaxLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateMaxLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
*@param field The <code>Field</code> object associated with the current
@@ -419,7 +419,7 @@
* Checks if the field's length is greater than or equal to the minimum value.
* A <code>Null</code> will be considered an error.</p>
*
- *@deprecated As of Struts 1.1b3, replaced by {@link org.apache.struts.validator.FieldChecks#validateMinLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
+ *@deprecated As of Struts 1.1, replaced by {@link org.apache.struts.validator.FieldChecks#validateMinLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)}
*@param bean The bean validation is being performed on.
*@param va The <code>ValidatorAction</code> that is currently being performed.
*@param field The <code>Field</code> object associated with the current
1.89 +10 -10 jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- RequestUtils.java 25 Feb 2003 04:39:31 -0000 1.88
+++ RequestUtils.java 25 Feb 2003 04:58:30 -0000 1.89
@@ -1337,7 +1337,7 @@
* @param pattern URL pattern used to map the controller servlet
* @return context-relative URL relative to the module
*
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
public static String actionURL(
HttpServletRequest request,
@@ -1473,7 +1473,7 @@
* to the <code>pagePattern</code> pattern for the current module
* (<strong>MUST</strong> start with a slash)
* @return context-relative URL
- * @since Struts 1.1b2
+ * @since Struts 1.1
*/
public static String pageURL(HttpServletRequest request, String page) {
@@ -1604,7 +1604,7 @@
* @param prefix The module prefix of the desired module
* @param request The servlet request we are processing
* @param context The ServletContext for this web application
- * @since struts 1.1b3
+ * @since struts 1.1
*/
public static void selectModule(
String prefix,
@@ -1711,7 +1711,7 @@
* Return the ModuleConfig object if it exists, null if otherwise.
* @param pageContext The page context.
* @return the ModuleConfig object
- * @since 1.1b3
+ * @since 1.1
*/
public static ModuleConfig getModuleConfig(PageContext pageContext) {
ModuleConfig moduleConfig =
@@ -1734,7 +1734,7 @@
* @param request The servlet request we are processing
* @return the ModuleConfig object from request, or null if none is set in
* the request.
- * @since 1.1b3
+ * @since 1.1
*/
public static ModuleConfig getRequestModuleConfig( HttpServletRequest request) {
return (ModuleConfig) request.getAttribute(Globals.MODULE_KEY);
@@ -1745,7 +1745,7 @@
* @param request The servlet request we are processing
* @param context The ServletContext for this web application
* @return the ModuleConfig object
- * @since 1.1b3
+ * @since 1.1
*/
public static ModuleConfig getModuleConfig(
HttpServletRequest request,
1.6 +6 -6 jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsFactoryConfig.java
Index: DefinitionsFactoryConfig.java
===================================================================
RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/DefinitionsFactoryConfig.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- DefinitionsFactoryConfig.java 16 Nov 2002 06:04:28 -0000 1.5
+++ DefinitionsFactoryConfig.java 25 Feb 2003 04:58:30 -0000 1.6
@@ -7,7 +7,7 @@
*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -117,7 +117,7 @@
/**
* The name associated to this factory.
* <br>
- * With Struts > 1.1b3, this name is the module name to which this factory
+ * With Struts 1.1, this name is the module name to which this factory
* belong. It is set by the system.
* <br>
* In other versions, this properties is not used.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org