There is a simple answer for your question: You can't.

It's due to how wicket works. Since Wicket manages your application 
state and takes care of the urls for you, you can't alter them 
significantly.

If you need tabbed panel like functionality while having nice urls, you 
have to have different pages and simply use bookmarkable links for every 
page.

Paging navigator's url could be little nicer if we didn't disable 
redirect, e.g. ?wicket:interface=:2:: .

Alternatively you can use ajax paging navigator (and ajax tabbed panel), 
which would case the url to stay unchanged.

-Matej


Korbinian Bachl wrote:
> I extend the question further: How can i have a nice URL and use a 
> TabbedPanel component???
>  
> Regards
> 
>     ------------------------------------------------------------------------
>     *Von:* [EMAIL PROTECTED]
>     [mailto:[EMAIL PROTECTED] *Im Auftrag von
>     *Korbinian Bachl
>     *Gesendet:* Dienstag, 10. Oktober 2006 12:01
>     *An:* wicket-user@lists.sourceforge.net
>     *Betreff:* [Wicket-user] NiceURL and PagingNavigator
> 
>     Hi,
>      
>     i have a page, call it products, and i implement a Paging Navigator
>     there, as its not good to have mor than e.g. 10 products on page at
>     same time.
>      
>     I then mount the products via   mountBookmarkablePage("/products",
>     Product.class);
>      
>     by executing it all works at first, but when using a link from the
>     paging navigation the URL changes to
>     ?wicket:interface=:2:pagination:navigation:1:pageLink:1:ILinkListener
>     instead of showing a nice /products/page/2 or sth like that.
>      
>     How can i achive this behavior?
>      
>     Regards,
>      
>     Korbinian
>      
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to