Ah.. then the answer is: formtester can be used only for single submit. For a new one, make a new one. It would be nice if it threw an exception (maybe create jira issue for that?).
http://old.nabble.com/test-for-dropdownchoice-with-ajax---response-is-homepage-always-td26584582.html ** Martin 2010/1/4 shetc <[email protected]>: > > Hi Martin, > > Thanks for the quick reply. The onSubmit method of my form does actually > work with the 3 linked > DropDownChoice components, when used as part of my application. I am trying > to simulate this > functionality as part of an integration test, and that's when the onSubmit > method is not triggered. > So I assume it's some misunderstanding on my part as far as WicketTester is > concerned, not > about using AjaxFormComponentUpdatingBehavior for components within a form. > > Steve > -- > View this message in context: > http://old.nabble.com/WicketTester----No-Form-onSubmit-when-using-Ajax-DropDownChoice-Component-tp27006022p27012451.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
