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 /param1Name/param1Value/param2Name/param2Value. Was there a reason why it was changed to encoding parameters in the URL query string? Thanks, Alec On Mon, Oct 1, 2012 at 2:06 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > 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. > > I'm not sure that IHUCS was the default one in 1.4. > > Now is the time to contribute back to the community and add this > information to the Wiki page. > It is editable by everyone. You just need to create an account. > >> >> On Sun, Sep 30, 2012 at 1:10 AM, Martin Grigorov <mgrigo...@apache.org> >> wrote: >>> 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 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 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 string that will be part of the url, the >>>>> "${oid}" means that whatever is at this point in the path will be >>>>> available as a PageParameter with the name "oid". >>>>> >>>>> More details in the Javadoc of MountedMapper. >>>>> >>>>> Carl-Eric >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>> >>> >>> >>> -- >>> Martin Grigorov >>> jWeekend >>> Training, Consulting, Development >>> http://jWeekend.com >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org