Wicket 1.5 - How to configure link generated url?

2012-09-19 Thread Nicolas Tacheny
I'm coding a wicket 1.5 application and I need to control the way url are rendered for security reason. mountPage(xxx/yyy, Zzzz.class) is excellent for that but I have a problem with url generated for link listener. For exemple, if I add the following link to my page: add(new

Re: Wicket 1.5 - How to configure link generated url?

2012-09-19 Thread Nicolas Tacheny
disabling ~ in url. On 19 Sep 2012, at 12:53, Martin Grigorov wrote: Hi, You can use mountPage(login, LoginPage.class); add(new BookmarkablePageLink(link-login, LoginPage.class)) this will generate: /login. Whay do you want to replace '~' ? On Wed, Sep 19, 2012 at 1:47 PM, Nicolas

Re: Wicket 1.5 - How to configure link generated url?

2012-09-19 Thread Nicolas Tacheny
'-' in the component ids. I.e. rename 'link-login' to 'linkLogin'. On Wed, Sep 19, 2012 at 2:04 PM, Nicolas Tacheny nicolas.tach...@gmail.com wrote: Tx, it's ok with a BookmarkablePageLink but is there a way to configure that for Link in case I need to implement specifics behaviors in onClick? It's