You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Christoph Nenning (JIRA)" <ji...@apache.org> on 2015/10/12 13:38:05 UTC

[jira] [Closed] (WW-4553) Make it easier to extend to override interceptor stack

     [ https://issues.apache.org/jira/browse/WW-4553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Nenning closed WW-4553.
---------------------------------
    Resolution: Fixed

Has been merged to {{master}} (-> struts 2.5 which is in beta) and to {{support-2-3}}. Thus two {{Fix Versions}}.


Please note that adding Interceptors programatically might not be a good design. You can ask on the struts-user mailing list for other ways.

> Make it easier to extend to override interceptor stack
> ------------------------------------------------------
>
>                 Key: WW-4553
>                 URL: https://issues.apache.org/jira/browse/WW-4553
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions: 2.3.24
>            Reporter: Jasper Rosenberg
>            Assignee: Christoph Nenning
>            Priority: Trivial
>              Labels: interceptors, xwork
>             Fix For: 2.3.25, 2.5
>
>
> Just as createAction is split out from init, it would be great to split out creating the interceptor iterator creation so it can be overridden without having to override all of init(). (Needed this to always prepend an i18n interceptor to all stacks).
> See pull request: https://github.com/apache/struts/pull/55



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)