Revision: 568
http://svn.sourceforge.net/stripes/?rev=568&view=rev
Author: bengunter
Date: 2007-06-05 14:10:22 -0700 (Tue, 05 Jun 2007)
Log Message:
-----------
replaced tabs with spaces in indentation from previous commit
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
trunk/stripes/src/net/sourceforge/stripes/controller/StripesConstants.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
2007-06-05 19:41:42 UTC (rev 567)
+++
trunk/stripes/src/net/sourceforge/stripes/controller/AnnotatedClassActionResolver.java
2007-06-05 21:10:22 UTC (rev 568)
@@ -394,20 +394,20 @@
}
/**
- * Checks a special request attribute to get the event name. This
attribute
- * may be set when the presence of the original request parameters on a
- * forwarded request makes it difficult to determine which event to
fire.
- *
- * @param bean the ActionBean type bound to the request
- * @param context the ActionBeanContect for the current request
- * @return the name of the event submitted, or null if none can be found
- * @see StripesConstants#REQ_ATTR_EVENT_NAME
- */
- protected String getEventNameFromRequestAttribute(
- Class<? extends ActionBean> bean, ActionBeanContext
context) {
- return (String) context.getRequest().getAttribute(
- StripesConstants.REQ_ATTR_EVENT_NAME);
- }
+ * Checks a special request attribute to get the event name. This attribute
+ * may be set when the presence of the original request parameters on a
+ * forwarded request makes it difficult to determine which event to fire.
+ *
+ * @param bean the ActionBean type bound to the request
+ * @param context the ActionBeanContect for the current request
+ * @return the name of the event submitted, or null if none can be found
+ * @see StripesConstants#REQ_ATTR_EVENT_NAME
+ */
+ protected String getEventNameFromRequestAttribute(
+ Class<? extends ActionBean> bean, ActionBeanContext context) {
+ return (String) context.getRequest().getAttribute(
+ StripesConstants.REQ_ATTR_EVENT_NAME);
+ }
/**
* Loops through the set of known events for the ActionBean to see if the
event
@@ -419,7 +419,7 @@
* @return String the name of the event submitted, or null if none can be
found
*/
@SuppressWarnings("unchecked")
- protected String getEventNameFromRequestParams(Class<? extends
ActionBean> bean,
+ protected String getEventNameFromRequestParams(Class<? extends ActionBean>
bean,
ActionBeanContext context) {
Map<String,String[]> parameterMap =
context.getRequest().getParameterMap();
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/StripesConstants.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/controller/StripesConstants.java
2007-06-05 19:41:42 UTC (rev 567)
+++ trunk/stripes/src/net/sourceforge/stripes/controller/StripesConstants.java
2007-06-05 21:10:22 UTC (rev 568)
@@ -94,10 +94,10 @@
String REQ_ATTR_CURRENT_FLASH_SCOPE = "__current_flash_scope";
/**
- * The name of a request attribute that is checked first to determine
the
- * name of the event that should fire.
- */
- String REQ_ATTR_EVENT_NAME = "__stripes_event_name";
+ * The name of a request attribute that is checked first to determine the
+ * name of the event that should fire.
+ */
+ String REQ_ATTR_EVENT_NAME = "__stripes_event_name";
/**
* Request attribute key defined by the servlet spec for storing the
included servlet
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development