You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jasper Rosenberg (JIRA)" <ji...@apache.org> on 2009/08/20 21:20:58 UTC
[jira] Created: (WW-3226) Add optional support to AliasInterceptor
to overwrite aliased parameters
Add optional support to AliasInterceptor to overwrite aliased parameters
------------------------------------------------------------------------
Key: WW-3226
URL: https://issues.apache.org/struts/browse/WW-3226
Project: Struts 2
Issue Type: Improvement
Components: Core Interceptors
Affects Versions: 2.1.7
Reporter: Jasper Rosenberg
Priority: Minor
Fix For: 2.1.8
It would be great if the AliasInterceptor could overwrite the aliased parameters rather than just inject them under different names, much like I recall staticParams supports. I suspect many, like me, were surprised to learn this wasn't how it currently behaved. It would have to be a new flag to maintain backwards compatibility.
Alternatively, the ParametersInterceptor could be enhanced to take an optional aliases map. That would be pretty handy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3226) Add optional support to AliasInterceptor
to overwrite aliased parameters
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso updated WW-3226:
--------------------------------
Fix Version/s: (was: 2.1.8)
2.1.9
> Add optional support to AliasInterceptor to overwrite aliased parameters
> ------------------------------------------------------------------------
>
> Key: WW-3226
> URL: https://issues.apache.org/struts/browse/WW-3226
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.1.7
> Reporter: Jasper Rosenberg
> Priority: Minor
> Fix For: 2.1.9
>
>
> It would be great if the AliasInterceptor could overwrite the aliased parameters rather than just inject them under different names, much like I recall staticParams supports. I suspect many, like me, were surprised to learn this wasn't how it currently behaved. It would have to be a new flag to maintain backwards compatibility.
> Alternatively, the ParametersInterceptor could be enhanced to take an optional aliases map. That would be pretty handy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3226) Add optional support to
AliasInterceptor to overwrite aliased parameters
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46670#action_46670 ]
Musachy Barroso commented on WW-3226:
-------------------------------------
I agree this should be moved to the params interceptor.
> Add optional support to AliasInterceptor to overwrite aliased parameters
> ------------------------------------------------------------------------
>
> Key: WW-3226
> URL: https://issues.apache.org/struts/browse/WW-3226
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.1.7
> Reporter: Jasper Rosenberg
> Priority: Minor
> Fix For: 2.1.9
>
>
> It would be great if the AliasInterceptor could overwrite the aliased parameters rather than just inject them under different names, much like I recall staticParams supports. I suspect many, like me, were surprised to learn this wasn't how it currently behaved. It would have to be a new flag to maintain backwards compatibility.
> Alternatively, the ParametersInterceptor could be enhanced to take an optional aliases map. That would be pretty handy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.