Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
Using the class and PageParameters together did it. Thanks a lot. On 30 November 2012 13:01, Martin Grigorov wrote: > No worries. > I still have problem to understand why people call Urls with path > parameters REST-urls. There is no problem to read query string parameters > in RESTful app. > >

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread Martin Grigorov
No worries. I still have problem to understand why people call Urls with path parameters REST-urls. There is no problem to read query string parameters in RESTful app. On Fri, Nov 30, 2012 at 12:47 PM, René Vangsgaard wrote: > Thank you, but my second was more on generating REST-like URLs, not

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
Thank you, but my second was more on generating REST-like URLs, not consuming them. I have rephrased my example below. In init: mountPage("/guide/${guideId}/step/${stepNo}", classOf[GuidePage]) In StateLessLink.onClick: setResponsePage(new GuidePage(1984, 1)) It generate this URL (the last numbe

Re: Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread Martin Grigorov
Hi, Read http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ On Fri, Nov 30, 2012 at 11:52 AM, René Vangsgaard wrote: > Hi all > > Searching the net I found various ways to support RESTful URLs in Wicket, > including the MixedParamUrlCodingStrategy. I am just curious if there is an >

Recommended way to generate REST URLs in Wicket 6.3

2012-11-30 Thread René Vangsgaard
Hi all Searching the net I found various ways to support RESTful URLs in Wicket, including the MixedParamUrlCodingStrategy. I am just curious if there is an easier way, as it looks cumbersome. I like the method mountPage (example in Scala below), but it does not generate RESTful URLs, the URL loo