Re: MounterMapper and optional parameters

2013-01-15 Thread Dirk Forchel
Sorry for the "Igor", Martin. Anyway, thank you for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MounterMapper-and-optional-parameters-tp4655372p4655384.html Sent from the Users forum mailing list archive at

Re: MounterMapper and optional parameters

2013-01-15 Thread Martin Grigorov
new ProductPage(category, product); } else { toRender = new CategoryPage(category); } } else { toRender = new ProductListPage(); } throw new RestartResponseException(toRende

Re: MounterMapper and optional parameters

2013-01-15 Thread Dirk Forchel
ntPage("/products/#{category}/", ProductListPage.class) mountPage("/products/#{category}/${product}", ProductPage.class) To be honest, I'm a little bit confused about the same path segments. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mounter

Re: MounterMapper and optional parameters

2013-01-15 Thread Martin Grigorov
hat it works or not. The following will work for sure: mountPage("/products/${category}/${product}", ProductPage.class) ${product} will contain both the name and the id, probably the extension too, but you can split it manually. > How would I provide such a pattern? > > >

MounterMapper and optional parameters

2013-01-14 Thread Dirk Forchel
I provide such a pattern? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MounterMapper-and-optional-parameters-tp4655372.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscrib