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
new ProductPage(category, product);
}
else {
toRender = new CategoryPage(category);
}
}
else {
toRender = new ProductListPage();
}
throw new RestartResponseException(toRende
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
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?
>
>
>
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