What do you want to do exactly ? There is no need to click a button in Wicket. E.g.: btn = new Button(...) { public void onClick() { myService.doSomething(); } }
so you can just call: myService.doSomething() instead. In javascript you can do: Wicket.$("myButtonId").click() On Thu, Mar 3, 2011 at 2:16 PM, drf <davidrfi...@gmail.com> wrote: > Is there any way to automate the clicking of a link or button, similar to > WicketTester, but within a running Wicket WebApplication ? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/How-to-automate-clicking-of-a-link-or-button-tp3333220p3333220.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >