Hmm didnt help me though..
calling this wicketTester.submitForm("form"); just gives a NPE...
Hmm using form tester and wicketTester.executeAjaxEvent works after
upgrading. Very nice:)
Thanks :)
Nino Saturnino Martinez Vazquez Wael wrote:
Ohh hold on for a minute.. I saw the *WICKET-1199
<https://issues.apache.org/jira/browse/WICKET-1199> was fixed.. I'll
try to upgrade and see if it fixes the problem...*
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
How do I test the ajaxbutton?
If I try to execute the event I just get an null pointer exeception
like this:
wicketTester.executeAjaxEvent("form:ajaxButton", "onclick");
Should I just check if theres ajax present? And the process the form
using the formtester?
--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]