You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/07 09:15:00 UTC
[jira] [Commented] (WW-4808) Allow define more than one Action
suffix
[ https://issues.apache.org/jira/browse/WW-4808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077849#comment-16077849 ]
ASF GitHub Bot commented on WW-4808:
------------------------------------
GitHub user lukaszlenart opened a pull request:
https://github.com/apache/struts/pull/148
WW-4808: Multiple suffixes
Implements multiple Action suffixes in the Convention Plugin, right now you can define suffixes as follow
```xml
<constant name="struts.convention.action.suffix" value="Action,Controller,Endpoint"/>
```
[WW-4808](https://issues.apache.org/jira/browse/WW-4808)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lukaszlenart/struts multiple-suffixes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/148.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #148
----
commit cf10f68e766957fdd7f1bf70f25d4cc899a40b87
Author: Lukasz Lenart <lu...@apache.org>
Date: 2017-07-07T08:23:54Z
Extends action suffix to support multiple suffixes
commit b708d844c292e064f5ef90bf65bfcd53b32b6659
Author: Lukasz Lenart <lu...@apache.org>
Date: 2017-07-07T08:24:02Z
Uses multiple suffixes
commit f522fbc45417b836463553e3d9110ee58fcf2673
Author: Lukasz Lenart <lu...@apache.org>
Date: 2017-07-07T08:58:26Z
Extract common code
commit b5be431f540271685eed803c7e55bf5a4d3138e6
Author: Lukasz Lenart <lu...@apache.org>
Date: 2017-07-07T09:01:03Z
Converts comments into logging statements
----
> Allow define more than one Action suffix
> ----------------------------------------
>
> Key: WW-4808
> URL: https://issues.apache.org/jira/browse/WW-4808
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Convention
> Affects Versions: 2.5.10
> Reporter: Lukasz Lenart
> Priority: Minor
> Labels: action, configuration, convention
> Fix For: 2.6
>
>
> Right now the {{struts.convention.action.suffix}} accepts only single string, it would be good if I could define more suffixes, e.g. {{Action,Endpoint,Controller}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)