Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Patrick Davids
Hi Martin, I missed something. We have a kind of own LinkComponent class here and someone in our team implemented an AjaxFallbackLink in the upper class hierarhcy, so currently we have a AjaxFallbackLink case here. I didnt know that. Thats the reason why I have a null AjaxRequestTarget.

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Christoph Läubrich
IMO all kinds of how to prevent user-action-xyz aproaches are flawed and bad design. The middle-mouse-button is just one of several methods to open links in a new tab/window. E.g. in most browsers you can archive this via right-click, holding STRG or Command-Key or Plugin or... So your best

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-25 Thread Martin Grigorov
Hi, I don't use a mouse (and I have no one around) so I cannot test the use case. I cannot see how org.apache.wicket.ajax.markup.html.form.AjaxButton#onSubmit(org.apache.wicket.ajax.AjaxRequestTarget, org.apache.wicket.markup.html.form.Form?) or