You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/05/22 22:58:58 UTC
cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/uri URIConstants.java TurbineURI.java
quintonm 2003/05/22 13:58:57
Modified: src/java/org/apache/turbine/util/uri URIConstants.java
TurbineURI.java
Log:
Changed the name of the constant used for the name of the event prefix
Revision Changes Path
1.6 +4 -4 jakarta-turbine-2/src/java/org/apache/turbine/util/uri/URIConstants.java
Index: URIConstants.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/uri/URIConstants.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- URIConstants.java 19 May 2003 18:03:03 -0000 1.5
+++ URIConstants.java 22 May 2003 20:58:56 -0000 1.6
@@ -95,12 +95,12 @@
/** CGI parameter for action name */
String CGI_ACTION_PARAM = "action";
- /** prefix for event names */
- String CGI_EVENT_PREFIX = "eventSubmit_";
-
/** CGI parameter for screen name */
String CGI_SCREEN_PARAM = "screen";
/** CGI parameter for template name */
String CGI_TEMPLATE_PARAM = "template";
+
+ /** prefix for event names */
+ String EVENT_PREFIX = "eventSubmit_";
}
1.5 +2 -2 jakarta-turbine-2/src/java/org/apache/turbine/util/uri/TurbineURI.java
Index: TurbineURI.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/uri/TurbineURI.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TurbineURI.java 19 May 2003 18:03:03 -0000 1.4
+++ TurbineURI.java 22 May 2003 20:58:57 -0000 1.5
@@ -333,7 +333,7 @@
setAction(action);
if(StringUtils.isNotEmpty(event))
{
- add(PATH_INFO, CGI_EVENT_PREFIX + event, event);
+ add(PATH_INFO, EVENT_PREFIX + event, event);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org