Update all S2 Wiki docs and S2/XW JavaDocs to reflect camelCase interceptor and result names.

Issue Number: WW-2491

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@642323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Hermanns
2008-03-28 18:07:22 +00:00
parent b75f525915
commit cae6a55f03
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1462,7 +1462,7 @@ public class <strong>AuthenticationInterceptor</strong> implements Interceptor {
&lt;interceptor-ref name="defaultStack"/>
&lt;/interceptor-stack>
&lt;interceptor-stack name="<strong>user-submit</strong>" >
&lt;interceptor-ref name="token-session" />
&lt;interceptor-ref name="tokenSession" />
&lt;interceptor-ref name="user"/>
&lt;/interceptor-stack>
&lt;interceptor-stack name="<strong>guest</strong>" >
@@ -26,7 +26,7 @@ import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
/**
* Example to illustrate the <code>token</code> and <code>token-session</code> interceptor.
* Example to illustrate the <code>token</code> and <code>tokenSession</code> interceptor.
*
*/
public class TokenAction extends ActionSupport {
@@ -63,7 +63,7 @@ import org.apache.struts2.dispatcher.mapper.ActionMapping;
* <pre>
* <!-- START SNIPPET: example -->
* &lt;action name="someAction" class="com.examples.SomeAction"&gt;
* &lt;interceptor-ref name="mapping-params"/&gt;
* &lt;interceptor-ref name="mappingParams"/&gt;
* &lt;result name="success"&gt;good_result.ftl&lt;/result&gt;
* &lt;/action&gt;
* <!-- END SNIPPET: example -->
+2 -2
View File
@@ -202,7 +202,7 @@
<interceptor-ref name="basicStack"/>
</interceptor-stack>
<!-- An example of the params-prepare-params trick. This stack
<!-- An example of the paramsPrepareParams trick. This stack
is exactly the same as the defaultStack, except that it
includes one extra interceptor before the prepare interceptor:
the params interceptor.
@@ -242,7 +242,7 @@
may do more than you need. Also, the ordering can be
switched around (ex: if you wish to have your servlet-related
objects applied before prepare() is called, you'd need to move
servlet-config interceptor up.
servletConfig interceptor up.
This stack also excludes from the normal validation and workflow
the method names input, back, and cancel. These typically are
@@ -108,7 +108,7 @@ public class TestConfigurationProvider implements ConfigurationProvider {
ActionConfig tokenSessionActionConfig = new ActionConfig.Builder("", "", TestAction.class.getName())
.addResultConfig(new ResultConfig.Builder("invalid.token", MockResult.class.getName()).build())
.addResultConfig(new ResultConfig.Builder("success", MockResult.class.getName()).build())
.addInterceptor(new InterceptorMapping("token-session", new TokenSessionStoreInterceptor()))
.addInterceptor(new InterceptorMapping("tokenSession", new TokenSessionStoreInterceptor()))
.build();
PackageConfig defaultPackageConfig = new PackageConfig.Builder("")
@@ -32,11 +32,11 @@
<package name="config-browser" extends="struts-default" namespace="/config-browser">
<interceptors>
<interceptor-stack name="config-browser-default">
<interceptor-stack name="configBrowserDefault">
<interceptor-ref name="validationWorkflowStack"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="config-browser-default"/>
<default-interceptor-ref name="configBrowserDefault"/>
<global-results>
<result name="error" type="freemarker">/config-browser/error.ftl</result>
@@ -44,7 +44,7 @@
may do more than you need. Also, the ordering can be
switched around (ex: if you wish to have your servlet-related
objects applied before prepare() is called, you'd need to move
servlet-config interceptor up.
servletConfig interceptor up.
This stack also excludes from the normal validation and workflow
the method names input, back, and cancel. These typically are