You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/05/12 15:33:42 UTC
[jira] Created: (WW-3123) Add constant to Convention to prevent
mapping default action to "execute" if other mappings exist on the same
class
Add constant to Convention to prevent mapping default action to "execute" if other mappings exist on the same class
-------------------------------------------------------------------------------------------------------------------
Key: WW-3123
URL: https://issues.apache.org/struts/browse/WW-3123
Project: Struts 2
Issue Type: Improvement
Components: Plugin - Convention
Affects Versions: 2.1.6
Reporter: Musachy Barroso
Assignee: Musachy Barroso
Fix For: 2.1.7
the constant name is "struts.convention.action.alwaysMapExecute" and will be "true" by default
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-3123) Add constant to Convention to prevent
mapping default action to "execute" if other mappings exist on the same
class
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3123.
---------------------------------
Resolution: Fixed
> Add constant to Convention to prevent mapping default action to "execute" if other mappings exist on the same class
> -------------------------------------------------------------------------------------------------------------------
>
> Key: WW-3123
> URL: https://issues.apache.org/struts/browse/WW-3123
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Convention
> Affects Versions: 2.1.6
> Reporter: Musachy Barroso
> Assignee: Musachy Barroso
> Fix For: 2.1.7
>
>
> the constant name is "struts.convention.action.alwaysMapExecute" and will be "true" by default
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WW-3123) Add constant to Convention to prevent
mapping default action to "execute" if other mappings exist on the same
class
Posted by "Martin Gainty (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46205#action_46205 ]
Martin Gainty commented on WW-3123:
-----------------------------------
if struts.convention.action.alwaysMapExecute is false would this impact methods identified by annotated methods? e.g.
# @Before - will be invoked before the action method. If the returned value is not null, it is returned as the action result code
# @After -will be invoked after the action method. If the returned value is not null, it is returned as the action result code
or would @Before and @After be disregarded?
> Add constant to Convention to prevent mapping default action to "execute" if other mappings exist on the same class
> -------------------------------------------------------------------------------------------------------------------
>
> Key: WW-3123
> URL: https://issues.apache.org/struts/browse/WW-3123
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Convention
> Affects Versions: 2.1.6
> Reporter: Musachy Barroso
> Assignee: Musachy Barroso
> Fix For: 2.1.7
>
>
> the constant name is "struts.convention.action.alwaysMapExecute" and will be "true" by default
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.