Description
'onclick' has been used in Wicket 1.5 and older versions as a name of the HTML attribute
Since 6.0.0 Wicket uses event registration (via jQuery#on()) and the leading 'on' is no more needed.
At the moment Wicket cuts the prefix but automatically this disallows usage of custom event names like "onmycustomname".
I suggest to log a warning in 7.x and remove the automatic cut of 'on' in Wicket 8.0.