how to log an External Link

2013-03-28 Thread Karl-Heinz Golz
hello, I need a link to outside of my wicket application and I'am using an ExternalLink for that. That works well. Now I would like to write a log message when a user clicks on that link. Their is no onClick() and I can't figure out, how to achieve that. Suggestions are very welcome. Thanks in

Re: how to log an External Link

2013-03-28 Thread Dan Retzlaff
An external link by definition does not make a request to your Wicket application. The user simply bounces off to the given URL. Consider using a normal Link, and throwing RedirectToUrlException in its onClick. On Thu, Mar 28, 2013 at 9:44 AM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote:

Re: how to log an External Link

2013-03-28 Thread Karl-Heinz Golz
Hi Dan, many thanks, works well. /Karl Am 28.03.2013 16:48, schrieb Dan Retzlaff: An external link by definition does not make a request to your Wicket application. The user simply bounces off to the given URL. Consider using a normal Link, and throwing RedirectToUrlException in its onClick.