struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r678526 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java
Date Mon, 21 Jul 2008 18:54:58 GMT
Author: musachy
Date: Mon Jul 21 11:54:57 2008
New Revision: 678526

URL: http://svn.apache.org/viewvc?rev=678526&view=rev
Log:
WW-2271 Bogus documentation of scope interceptor

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java?rev=678526&r1=678525&r2=678526&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ScopeInterceptor.java
Mon Jul 21 11:54:57 2008
@@ -98,11 +98,14 @@
  *
  * </ul>
  *
- * <li>sessionReset - boolean value causing all session values to be reset to action's
default values or application
- * scope values, note that it is similliar to type="start" and in fact it does the same,
but in our team it is sometimes
- * semantically preferred. We use session scope in two patterns - sometimes there are wizzard-like
action sequences that
+ * <li>sessionReset - name of a parameter (defaults to 'session.reset') which if set,
causes all session values to be reset to action's default values or application
+ * scope values, note that it is similar to type="start" and in fact it does the same, but
in our team it is sometimes
+ * semantically preferred. We use session scope in two patterns - sometimes there are wizard-like
action sequences that
  * have start and end, and sometimes we just want simply reset current session values.</li>
  *
+ * <li>reset - boolean, defaults to false, if set, it has the same effect as setting
all session values to be reset to action's default values or application.</li>
+ *
+ * <li>autoCreateSession - boolean value, sets if the session should be automatically
created.</li>
  * </ul>
  *
  * <!-- END SNIPPET: parameters -->



Mime
View raw message