Hmm

Can any confirm that wicketTester.assertComponentOnAjaxResponse(component) are working properly. I get an error event though my component are on response. Seems as it are checking for <?xml in the begining of the document and mine comes after the html document...

regards Nino

Nino Saturnino Martinez Vazquez Wael wrote:
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]

Reply via email to