Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 30568 invoked from network); 21 Jul 2008 18:55:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2008 18:55:50 -0000 Received: (qmail 92694 invoked by uid 500); 21 Jul 2008 18:55:49 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 92643 invoked by uid 500); 21 Jul 2008 18:55:49 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 92634 invoked by uid 99); 21 Jul 2008 18:55:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 11:55:48 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 18:55:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 96DCC238896E; Mon, 21 Jul 2008 11:54:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@struts.apache.org From: musachy@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080721185458.96DCC238896E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@ * * * - *
  • 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 + *
  • 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.
  • * + *
  • 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.
  • + * + *
  • autoCreateSession - boolean value, sets if the session should be automatically created.
  • * * *