Seems superfluous, thus +1 for removing crufty code.

Sven

Am 03.01.2012 17:06, schrieb Igor Vaynberg:
seems like a leftover from the time past. +1 to remove.

-igor

On Tue, Jan 3, 2012 at 7:27 AM, Martin Grigorov<[email protected]>  wrote:
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