Re: URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
OK, thank you. Em 13 de jan de 2016 3:21 PM, "Martin Grigorov" escreveu: > I am not sure. > I think the id should be also dynamic: > id = parameters.get(parameters.getIndexedCount() - 1); > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov

Re: URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
Hmm, cool... this will work for me as the last index will always be the ${id}, tks! On Wed, Jan 13, 2016 at 3:08 PM, Martin Grigorov wrote: > Hi, > > Mount just "page" and use PageParameters indexed parameters to read/write > the categories. > > Martin Grigorov >

URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
Hi guys, I have to mount a page with an URL that contains zero or more "categories". /page/${id} /page/vahicles/${id} /page/vahicles/cars/${id} /page/vahicles/cars/honda/${id} The "/page" is fixed while the others vehicles, cars and honda is like a category tree only for SEO needs. In a

Re: URL Mapping with dynamic params

2016-01-13 Thread Martin Grigorov
Hi, Mount just "page" and use PageParameters indexed parameters to read/write the categories. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 13, 2016 at 6:04 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Hi guys, > > I have to mount a

Re: URL Mapping with dynamic params

2016-01-13 Thread Martin Grigorov
I am not sure. I think the id should be also dynamic: id = parameters.get(parameters.getIndexedCount() - 1); Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 13, 2016 at 6:17 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Hmm, cool... this