Home > Guides > Core Developers Guide > Interceptors > Default Workflow Interceptor |
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 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".
Note: As this method extends off MethodFilterInterceptor, it is capable of deciding if it is applicable only to selective methods in the action class. This is done by adding param tags for the interceptor element, naming either a list of excluded method names and/or a list of included method names, whereby includeMethods overrides excludedMethods. A single * sign is interpreted as wildcard matching all methods for both parameters. See MethodFilterInterceptor for more info.
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.
In DefaultWorkflowInterceptor
applies only when action implements com.opensymphony.xwork2.Validateable
There are no known extension points for this interceptor.