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

Christopher Schultz closed VELTOOLS-89.
---------------------------------------


> LinkTool's addQueryData method should automatically add an 'ignore' so 
> addAllParameters will ignore manually-added query data
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: VELTOOLS-89
>                 URL: https://issues.apache.org/jira/browse/VELTOOLS-89
>             Project: Velocity Tools
>          Issue Type: Improvement
>          Components: VelocityView
>            Reporter: Christopher Schultz
>            Priority: Trivial
>             Fix For: 1.x, 1.4, 2.x
>
>         Attachments: VELTOOLS-89.diff
>
>
> Currently, the LinkTool requires that, for each parameter you intend to 
> override from the current request (when using addAllParameters), you do 
> something like this:
> $link.addIgnore("foo").addQueryData("foo", "bar").addAllParameters()
> It is almost always the case that the "foo" parameter should be ignored from 
> the current request because it's value is being explicitly set by the 
> addQueryData call.
> This should be the default behavior, with the current behavior being 
> configurable via the toolbox setup.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to