You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/10/22 13:51:00 UTC

[jira] [Updated] (WW-3720) Support collection-based properties in .xml

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

Lukasz Lenart updated WW-3720:
------------------------------
    Fix Version/s: 7.0.0
                       (was: 6.1.0)

> Support collection-based properties in .xml
> -------------------------------------------
>
>                 Key: WW-3720
>                 URL: https://issues.apache.org/jira/browse/WW-3720
>             Project: Struts 2
>          Issue Type: New Feature
>            Reporter: Ilya
>            Priority: Minor
>             Fix For: 7.0.0
>
>
> MethodFilterInterceptor.setExcludeMethods accepts coma-separated list of methods and it should be typed in such way in XML too.
> It would be much better to support collections:
> <param name="workflow.excludeMethods">
>   <list>
>    <element>input</element>
>    <element>back</element>
>    <element>cancel</element>
>   </list>
> </param>
> and 
> MethodFilterInterceptor.setExcludeMethods(String... methods)
> or
> MethodFilterInterceptor.setExcludeMethods(Collection<String> methods)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)