Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
So It seems that you cannot control the order of page parameters for bookmarkablepagelinks can this be true? What I mean are that I would like to have and url something like this (and remain stable that way): mydom.com/mypage/cache/true/product/id , something like that it'll not work for

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Erik van Oosten
Hi Nino, It all depends on the url encoder you use. There are several. See section 14.2.2 of Wicket in Action, or browse starting from the javadoc of WebApplication#mount(IRequestTargetUrlCodingStrategy)[1]. The default I believe is to use BookmarkablePageRequestTargetUrlCodingStrategy, but

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
Ahh I started going into the other direction, looking at the Bookmarkablepagelink itself and noticing that it were using a map, not a list. Erik van Oosten wrote: Hi Nino, It all depends on the url encoder you use. There are several. See section 14.2.2 of Wicket in Action, or browse

Re: Order of pageparameters for bookmarkablepagelink?

2008-08-20 Thread Nino Saturnino Martinez Vazquez Wael
Hmm digging further into it i tumbled over this setting: UnitTestSettings.getSortUrlParameters(), line 94, AbstractRequestTargetUrlCodingStrategy. It scares me abit that it's called UnitTestSettings..? It seems to provide something about sorting pageparameters.. Nino Saturnino Martinez