Re: keep on getting non-bookmarkable URL with QueryStringUrlCodingStrategy...
There is definitely something strange going on. It appears that whenever I use a parameter that has a '/' in it I get strange behavior. I do see the '/' being encoded properly but still these '/' characters are in the way. Typical behavior is to see an empty page with the default URL coding strategy and to get a non-bookmarkable page with the querystring strategy. As a workaround I am now replacing all '/' characters in the parameter by something else and then changing it back when using it. This is not the whole story because even if I apply this hack, the QueryStringURLCoder strategy still generates a non-bookmarkable page for the page I want to use. The way out was to use mountBookmarkablePage but I really don't want to use that. To reproduce it you would need to mount a page using the QueryStringURLCoder: mount(new QueryStringUrlCodingStrategy("/gpx-from-url", RemoteTrackMapPage.class)); make the RemoteTrackMapPage have either a default constructor or one with PageParameters (does not matter which one) and do a setResponsePage(RemoteTrackMapPage.class, new PageParameters()). If I have the time I will make an example. Cheers Erik
Re: keep on getting non-bookmarkable URL with QueryStringUrlCodingStrategy...
El dom, 20-09-2009 a las 15:44 +0200, Erik Brakkee escribió: > Hi, > > I have mounted a specific page using QueryStringUrlCodingStrategy to a > specific URL. Nevertheless, when I use setResponsePage(MyPage.class, > pageParams), I keep on getting a URL that has a session-specific parameter > with name 'x'. Is there anything I am doing wrong. I just have one parameter > in the page parameters that I want to see appearing in the URL. Should be OK. Please create a quickstart application that reproduce the problem and attach it to Jira ticket or upload it somewhere so we could take a look. > > Cheers > Erik - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
keep on getting non-bookmarkable URL with QueryStringUrlCodingStrategy...
Hi, I have mounted a specific page using QueryStringUrlCodingStrategy to a specific URL. Nevertheless, when I use setResponsePage(MyPage.class, pageParams), I keep on getting a URL that has a session-specific parameter with name 'x'. Is there anything I am doing wrong. I just have one parameter in the page parameters that I want to see appearing in the URL. Cheers Erik