I'm currently trying to test my implementation of CheckBox.onSelectionChanged(Object newSelection) ... I've created my CheckBox as follows ...
item.add(new CheckBox("checkBoxId") // note that model object comes thru compound property model { @Override protected void onSelectionChanged(final Object newSelection) { // my implementation code is here } @Override protected boolean wantOnSelectionChangedNotifications() { return(true); } }); In my test, however, I can't seem to get the onSelectionChanged to fire ... formTester.setValue("checkBoxId", true); I would assume that call would result in my onSelectionChanged method being invoked, but that is not the case. Any ideas? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Testing-CheckBox-onSelectionChanged-Object-newSelection-using-FormTester-tp2272641p2272641.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org