Re: WicketTester, FormTester, and AjaxSubmitLink

2007-09-26 Thread Jean-Baptiste Quenot
* James McLaughlin: > Hi, > Hacking away at some tests, I figured the proper way to test an > AjaxSubmitLink would have been as follows: > > Panel p = tester.startPanel(EventPanel.class); > FormTester ft = tester.newFormTester(p.getId() + ":eventForm"); > ft.setValue("messa

WicketTester, FormTester, and AjaxSubmitLink

2007-09-06 Thread James McLaughlin
Hi, Hacking away at some tests, I figured the proper way to test an AjaxSubmitLink would have been as follows: Panel p = tester.startPanel(EventPanel.class); FormTester ft = tester.newFormTester(p.getId() + ":eventForm"); ft.setValue("messageField", ALARM_MESSAGE);