WICKET-5783 Multiple events in AjaxEventBehavior with prefix 'on'

(cherry picked from commit 3878a8822e63453d5a9447d57178f14ac815e7c0)