[
https://issues.apache.org/jira/browse/WICKET-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066104#comment-13066104
]
Igor Azarny commented on WICKET-3906:
-------------------------------------
Hi Martin !
You are right - #set(String, Object, int index) ignore index parameter, this is
the main problem.
When it will be resolved the index determination will be a not convinient, for
example i know , that paramKey
present in pageParameters and i want to replace it using #set(String, Object,
int index).
To get index value i have to iterate through List<NamedPair> getAllNamed()
> PageParameters#set not follow INamedParameters#set behavior
> -----------------------------------------------------------
>
> Key: WICKET-3906
> URL: https://issues.apache.org/jira/browse/WICKET-3906
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC5.1
> Reporter: Igor Azarny
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Couple of problems to work with page parameters:
> Major - The PageParameters#set(final String name, final Object value, final
> int index) used remove/add pattern instead of set parameter value by
> specified index.
> Minor - Inposible to get the index of key in elegant way to use obtained
> index in #set operation
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira