Hi Martin, Do you mean the javascript 'onclick' function? Cause I have tried to implement the "onLinkClicked( )" method, and copied the 'getUrl()', 'onComponentTag()' methods from the Link class. But, did not manage to get it working.
Thanks On 7 October 2010 16:00, Martin Makundi <martin.maku...@koodaripalvelut.com> wrote: > Add onclickbehavior? > > ** > Martin > > 2010/10/7 Abid K <abz...@gmail.com>: >> Hi, >> >> I am using the ExternalLink class for external sites. I've noticed >> this class does not implement the ILinkListener interface and I am not >> able to monitor these clicks. >> >> I tried to implement the listener, but I did not get far. e.g. >> public class MonitorExternalLink extends ExternalLink implements >> ILinkListener { >> ... >> } >> >> Does anyone know how I can implement a listener on the ExternalLink class? >> >> Thanks >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org