From 07f97efcfda8384afa2109a6a8263e7c8b6dd0e0 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 22 May 2013 11:26:13 +0000 Subject: [PATCH] WW-4071 Adds some comments about the supported *Aware interfaces git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485153 13f79535-47bb-0310-9956-ffa450edef68 --- .../DefaultWorkflowInterceptor.java | 43 ++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java index 480f25b46..4090058fd 100644 --- a/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java +++ b/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.java @@ -30,7 +30,7 @@ import java.lang.reflect.Method; * An interceptor that makes sure there are not validation errors before allowing the interceptor chain to continue. * This interceptor does not perform any validation. *

- *

This interceptor does nothing if the name of the method being invoked is specified in the excludeMethods + * This interceptor does nothing if the name of the method being invoked is specified in the excludeMethods * parameter. excludeMethods accepts a comma-delimited list of method names. For example, requests to * foo!input.action and foo!back.action will be skipped by this interceptor if you set the * excludeMethods parameter to "input, back". @@ -42,33 +42,36 @@ import java.lang.reflect.Method; * all methods for both parameters. * See {@link MethodFilterInterceptor} for more info. *

- * - *

- *

Interceptor parameters: - *

- * - *

+ * This interceptor also supports the following interfaces which can implemented by actions: + *

+ * + * You can also use InputConfig annotation to change result name returned when validation errors occurred. + * + * + * + * Interceptor parameters: + * + * * - *

* - *

- *

Extending the interceptor: - *

- *

- *

+ * + * Extending the interceptor: + * * - *

+ * * There are no known extension points for this interceptor. - *

+ * * - *

- *

Example code: - *

+ * + * Example code: + * *

  * 
  *