Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The action tag will not get executed when there's a validation error with ValidationInterceptor and DefaultWorkflowInterceptor in place.

One way to make the action gets executed if to have the action's execution method specified in ValidationInterceptor's excludeMethods parameter as show in the following snippet.

Code Block
xml
xml
<interceptor-ref name="validation">
  <param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>

and defined the method on the action to be executed as one of those excludedMethods, eg.

Code Block
xml
xml
<saf:action name="myActionAlias!input" executeResult="false" />