You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/07/27 12:59:34 UTC

[jira] [Resolved] (WICKET-4677) Improve AjaxRequestAttributes' ExtraParameters to accept more than one value for a key

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

Martin Grigorov resolved WICKET-4677.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0

Improved.
For simple key/value you can still use: extraParams.put("key", value)
For multivalued keys put the values in a java.util.List or Object[]: extraParams.put("key", Arrays.asList("value1", 123, true)).
                
> Improve AjaxRequestAttributes' ExtraParameters to accept more than one value for a key 
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-4677
>                 URL: https://issues.apache.org/jira/browse/WICKET-4677
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>            Reporter: vineet semwal
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0
>
>
> currently AjaxRequestAttributes#getExtraParameters() uses Map ,there can be use cases where one needs more than one value for a key,it will be nicer if  some other collection or PageParameters can be used so one can associate more than one value to a key .
> thanks !

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira