Re: @MountPath with same path

2008-10-21 Thread Cédric Thiébault
: @MountPath with same path How about mounting that to just products and displaying different content based on the presence of the parameter? You abstract the content of both pages into panels and show one or the other based on the paramter. Jörn On Mon, Oct 20, 2008 at 6:15 PM, Cédric Thiébault

Re: @MountPath with same path

2008-10-21 Thread Jörn Zaefferer
IndexedHybridUrlCodingStrategy (or something like that... currently writing from [my poor] memory). Cheers, =dml -Original Message- From: Jorn Zaefferer [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 06:33 To: users@wicket.apache.org Subject: Re: @MountPath with same path How about mounting

@MountPath with same path

2008-10-20 Thread Cédric Thiébault
Hi, I want to use REST url for my application using wicketstuff-annotation but it seems that I can't use the same path for 2 pages. For example : - /products for the list of products @MountPath(path = products) public class ProductListPage extends Webpage - /products/5 for the detail of

Re: @MountPath with same path

2008-10-20 Thread Jörn Zaefferer
How about mounting that to just products and displaying different content based on the presence of the parameter? You abstract the content of both pages into panels and show one or the other based on the paramter. Jörn On Mon, Oct 20, 2008 at 6:15 PM, Cédric Thiébault [EMAIL PROTECTED] wrote: