You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Christopher Schultz (JIRA)" <de...@velocity.apache.org> on 2007/11/02 16:06:50 UTC
[jira] Commented: (VELTOOLS-89) LinkTool's addQueryData method
should automatically add an 'ignore' so addAllParameters will ignore
manually-added query data
[ https://issues.apache.org/jira/browse/VELTOOLS-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539608 ]
Christopher Schultz commented on VELTOOLS-89:
---------------------------------------------
(Patch is relative to the trunk, btw)
> 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
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org