I mean:

link.add(new AjaxEventBehavior("onclick") {
  ...
});


**
Martin

2010/10/7 Abid K <[email protected]>:
> 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
> <[email protected]> wrote:
>> Add onclickbehavior?
>>
>> **
>> Martin
>>
>> 2010/10/7 Abid K <[email protected]>:
>>> 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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to