you can mount productlist on /cars/vendors and productdetail on /cars/vendor/product
-igor On Tue, Mar 4, 2008 at 12:24 AM, okrohne <[EMAIL PROTECTED]> wrote: > > Hi, > > I wonder how I can achieve to use different pages from the same mounted root > page depending > on the page parameters. > For instance: > > /cars/vendor > this should show a list of all cars by a vendor (ProductList.class), > vendor would be a page parameter > > /cars/vendor/product > this should show the details about the product of the vendor > (ProductDetail.class), > so vendor and product will be a page parameter. > > If I mount a page to /cars then I can not switch between ProductList.class > and ProductDetail.class > dpending on the page parameters? > > Should I mount a page to /cars and depending on the page parameters setting > the appropriate response page, or can I hook in the request ? > > Thanks, > Oliver > > > > > > > > -- > View this message in context: > http://www.nabble.com/using-different-pages-depending-on-the-page-parameters-tp15822389p15822389.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
