On Sat, 01 Dec 2007, Gerolf Seitz wrote:
> it seems like BaseWicketTester#clickLink does not generate an ajax request.
...
> any comments?

I've fired Ajax links by
WicketTester.executeAjaxEvent("onclick") and find it makes
sense. Because cannot there be ajax behaviours triggered on
other events as well (onmousedown, onmouseup)?

I might be wrong as I don't know much about Javascript
events but giving onclick a special handling seems strange
to me. I've always thought of clickLink as a plain click that
does not invoke any Javascript. So that would give the same
behavior as clicking with Javascript disabled, and you would
have to fire all Ajax behaviours separately.

Best wishes,
Timo

Reply via email to