You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by neoritter <ri...@hotmail.com> on 2011/09/28 19:51:59 UTC

BookmarkablePageLink PageParameters

Not really an issue, but a question. Is there a reason that
BookmarkablePageLink.setParameterImpl does a PageParameter.put instead of a
PageParameter.add?

When doing a ServletWebRequest.getParameters you can retrieve an array of
parameters with a given key. Is there a reason why the functionality to add
multiple parameters of the same key is taken out of BookmarkablePageLink?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/BookmarkablePageLink-PageParameters-tp3852163p3852163.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: BookmarkablePageLink PageParameters

Posted by Martin Grigorov <mg...@apache.org>.
Not sure for which version of Wicket you are talking about but in 1.5
org.apache.wicket.markup.html.link.BookmarkablePageLink.setParameter(String,
int) and few other methods are deprecated and it is recommended to use
BookmarkablePageLink#getPageParameters()}.set()/.add()

On Wed, Sep 28, 2011 at 7:51 PM, neoritter <ri...@hotmail.com> wrote:
> Not really an issue, but a question. Is there a reason that
> BookmarkablePageLink.setParameterImpl does a PageParameter.put instead of a
> PageParameter.add?
>
> When doing a ServletWebRequest.getParameters you can retrieve an array of
> parameters with a given key. Is there a reason why the functionality to add
> multiple parameters of the same key is taken out of BookmarkablePageLink?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/BookmarkablePageLink-PageParameters-tp3852163p3852163.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org