Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3720

Support collection-based properties in .xml

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              link Ilya
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: