Re: HybridUrlCodingStrategy in Wicket 1.5

2012-10-01 Thread Martin Grigorov
Hi, On Sun, Sep 30, 2012 at 7:42 PM, Alec Swan alecs...@gmail.com wrote: Perfect, thanks! Might be a good idea to put this on https://cwiki.apache.org/WICKET/request-mapping.html page since in 1.5 UrlPathPageParametersEncoder a direct replacement of the default url mapping strategy in 1.4.

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-10-01 Thread Alec Swan
I updated https://cwiki.apache.org/confluence/display/WICKET/Request+mapping with new information, moved things around and added a ToC. I hope it's ok. According to org.apache.wicket.request.mapper.parameter.UrlPathPageParametersEncoder JavaDoc in 1.5 the default url coding strategy in 1.4 was

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-30 Thread Martin Grigorov
It seems you actually used *Indexed*HybridUrlCodingStrategy. To have this you need UrlPathPageParametersEncoder. See MountedMapper constructors. On Sat, Sep 29, 2012 at 7:51 PM, Alec Swan alecs...@gmail.com wrote: Thanks, but I mentioned above that we have a lot of pages mounted which take

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-30 Thread Alec Swan
Perfect, thanks! Might be a good idea to put this on https://cwiki.apache.org/WICKET/request-mapping.html page since in 1.5 UrlPathPageParametersEncoder a direct replacement of the default url mapping strategy in 1.4. On Sun, Sep 30, 2012 at 1:10 AM, Martin Grigorov mgrigo...@apache.org wrote:

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-30 Thread Alec Swan
I am wondering why default URL encoding strategy was changed from indexed to query parameters? What was the reasoning behind this decision? Thanks, Alec On Sun, Sep 30, 2012 at 10:42 AM, Alec Swan alecs...@gmail.com wrote: Perfect, thanks! Might be a good idea to put this on

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-29 Thread Martin Grigorov
of parameters for each page. Thanks On Fri, Sep 28, 2012 at 4:47 PM, Alec Swan alecs...@gmail.com wrote: Hello, What's the best way to implement HybridUrlCodingStrategy in Wicket 1.5? Also, is there a Wicket utility method that generates a URL given a base URL and page parameters? Thanks

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-29 Thread Alec Swan
28, 2012 at 4:47 PM, Alec Swan alecs...@gmail.com wrote: Hello, What's the best way to implement HybridUrlCodingStrategy in Wicket 1.5? Also, is there a Wicket utility method that generates a URL given a base URL and page parameters? Thanks, Alec

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-29 Thread Carl-Eric Menzel
On Sat, 29 Sep 2012 09:54:27 -0600 Alec Swan alecs...@gmail.com wrote: mountPage(ms, MyPage.class) generates URLs like /lrm/ms?oid=123 What I would like is URLs like /lrm/ms/oid/123 What's the easiest way to accomplish this? mountPage(ms/oid/${oid}, MyPage.class); The ms/oid/ is just the

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-29 Thread Alec Swan
Thanks, but I mentioned above that we have a lot of pages mounted which take different parameters. So I need to accomplish this without specifying parameter names explicitly. On Sat, Sep 29, 2012 at 10:44 AM, Carl-Eric Menzel cmen...@wicketbuch.de wrote: On Sat, 29 Sep 2012 09:54:27 -0600 Alec

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-09-28 Thread Alec Swan
HybridUrlCodingStrategy in Wicket 1.5? Also, is there a Wicket utility method that generates a URL given a base URL and page parameters? Thanks, Alec - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional