You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dave Newton (JIRA)" <ji...@apache.org> on 2007/02/13 15:49:16 UTC

[jira] Created: (WW-1739) Enhance CSV list parsing in ParameterFilterInterceptor

Enhance CSV list parsing in ParameterFilterInterceptor
------------------------------------------------------

                 Key: WW-1739
                 URL: https://issues.apache.org/struts/browse/WW-1739
             Project: Struts 2
          Issue Type: Improvement
          Components: Interceptors
    Affects Versions: 2.0.4
            Reporter: Dave Newton
            Priority: Trivial


Allow newlines etc. in ParameterFilterInterceptor parameters to help clean up config XML, example:

      <interceptor-ref name="paramFilter"> 
        <param name="blocked">
          pcr.custnum,
          pcr.customer,
          pcr.jacketnum
        </param>
      </interceptor-ref>

If there are a lot of parameters (for instance, during prototyping) it can get ugly to have one huge CSV, particularly if you're using the list as a live TODO list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-1739) Enhance CSV list parsing in ParameterFilterInterceptor

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-1739.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   2.1.7

not sure what changed, probably the xml parser, but this now works, and the list is passed as "A,\n       B,\n", so the collection is built properly

> Enhance CSV list parsing in ParameterFilterInterceptor
> ------------------------------------------------------
>
>                 Key: WW-1739
>                 URL: https://issues.apache.org/struts/browse/WW-1739
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.4
>            Reporter: Dave Newton
>            Assignee: James Holmes
>            Priority: Trivial
>             Fix For: 2.1.7
>
>
> Allow newlines etc. in ParameterFilterInterceptor parameters to help clean up config XML, example:
>       <interceptor-ref name="paramFilter"> 
>         <param name="blocked">
>           pcr.custnum,
>           pcr.customer,
>           pcr.jacketnum
>         </param>
>       </interceptor-ref>
> If there are a lot of parameters (for instance, during prototyping) it can get ugly to have one huge CSV, particularly if you're using the list as a live TODO list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1739) Enhance CSV list parsing in ParameterFilterInterceptor

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1739:
---------------------------

    Fix Version/s: Future

The XML parser doesn't allow linebreaks now, I'm not sure what we could do to change it. 


> Enhance CSV list parsing in ParameterFilterInterceptor
> ------------------------------------------------------
>
>                 Key: WW-1739
>                 URL: https://issues.apache.org/struts/browse/WW-1739
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Interceptors
>    Affects Versions: 2.0.4
>            Reporter: Dave Newton
>            Priority: Trivial
>             Fix For: Future
>
>
> Allow newlines etc. in ParameterFilterInterceptor parameters to help clean up config XML, example:
>       <interceptor-ref name="paramFilter"> 
>         <param name="blocked">
>           pcr.custnum,
>           pcr.customer,
>           pcr.jacketnum
>         </param>
>       </interceptor-ref>
> If there are a lot of parameters (for instance, during prototyping) it can get ugly to have one huge CSV, particularly if you're using the list as a live TODO list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WW-1739) Enhance CSV list parsing in ParameterFilterInterceptor

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes reassigned WW-1739:
--------------------------------

    Assignee: James Holmes

> Enhance CSV list parsing in ParameterFilterInterceptor
> ------------------------------------------------------
>
>                 Key: WW-1739
>                 URL: https://issues.apache.org/struts/browse/WW-1739
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Interceptors
>    Affects Versions: 2.0.4
>            Reporter: Dave Newton
>            Assignee: James Holmes
>            Priority: Trivial
>             Fix For: Future
>
>
> Allow newlines etc. in ParameterFilterInterceptor parameters to help clean up config XML, example:
>       <interceptor-ref name="paramFilter"> 
>         <param name="blocked">
>           pcr.custnum,
>           pcr.customer,
>           pcr.jacketnum
>         </param>
>       </interceptor-ref>
> If there are a lot of parameters (for instance, during prototyping) it can get ugly to have one huge CSV, particularly if you're using the list as a live TODO list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.