Hi,

What is the use case for supporting the special event name "href" in
AjaxEventBehavior ?
If the name is "href" then Wicket generates: <...
href="javascript:someJS()" ...>.
This will work only on <a> element.
But I don't see any functionality that is supported by this impl and
cannot be done with <a onclick="someJS()"> or
document.addEventListener(a, "click", function).

I would like to remove that useless?! feature in Wicket 6.0. This will
allow me to remove all the code related to
org.apache.wicket.ajax.AjaxEventBehavior#getEventHandler and its
specializations.

Any objections ?

-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to