setResponsePage( new ItemPage( filters ) ) ; that wont work because it does not generate a bookmarkable url. you have to encode filters in pageparameters and use bookmarkable page links, such as:
add(new bookmarkablepagelink(ItemPage.class, filtersPageParameters)); you can also use StatelessLink/Form which also generate bookmarkable urls and allow you to have onclick handlers. -igor On Mon, Jun 23, 2008 at 2:37 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm trying to get my wicket urls to work with google spiders. Right now I > have the ?wicket:interface=:1:::: and I was just wondering. > > Do I have to use PageParameters to get urls like ?Brand=34 > > I now pass objects to a pages constructor. Thanks > > Like > > List<ItemFilter> filters = new LinkedList<ItemFilter>(); > filters.add( new StoreFilter( 1 ) ); > filters.add( new BalanceFilter( 1 ) ); > filters.add( new BrandFilter( 34 ) ); > .... > > setResponsePage( new ItemPage( filters ) ) ; > > > -- > View this message in context: > http://www.nabble.com/Google-friendly-urls-tp18079064p18079064.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]
