Hi,
Wicket 6 uses jQuery.on() to register the event listeners.
If your AjaxSubmitLink listens on 'click' then
jQuery('#theSubmitLinkId').triggerHandler('click') should do it.
Also check the docs of jQuery#trigger
On Thu, Dec 6, 2012 at 1:53 AM, Jered Myers jer...@maplewoodsoftware.comwrote:
I am able to make this work in a Quickstart, so there must be something
else wrong. Thanks for the response Martin.
Here is code if anybody wants an example:
Java:
AjaxLinkVoid standardAjaxLink = new
AjaxLinkVoid(standardAjaxLink)
{
private static final long
Wicket 6.3
How do I call a click event on an AjaxLink from via jQuery or
JavaScript? I have an AjaxLink that I have added to the page and after
I run some JavaScript, I want to pragmatically click the link with
JavaScript. This broke when updating from Wicket 1.5 to 6. It appears
that the
The link here is actually an AjaxSubmitLink and not an AjaxLink. I am
trying to get back to the onSubmit on the server side. I saw
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Ajax-Behaviors-td4654398.html,
but $(mylink).triggerHandler('click') doesn't seem to be working. Do I
treat