Re: Problem test RadioChoice
Done https://issues.apache.org/jira/browse/WICKET-1721 2008/6/30 Igor Vaynberg <[EMAIL PROTECTED]>: > i dont think the tester supports onselectionchanged callbacks. file an RFE > > -igor > > On Mon, Jun 30, 2008 at 6:43 AM, Murat Yücel <[EMAIL PROTECTED]> > wrote: > > Hi All > > > > I have some problem testing a RadioChoice which is overrides the methods: > > wantOnSelectionChangedNotifications and onSelectionChanged. > > > > In my test class i use the method select on the FormTester, but is seems > > like the onSelectionChanged method is never called. > > I have looked at the select code and it seems like there have been made > some > > logic for a DropDownChoice. > > > > Does this only work for a DropDown or am i doing something wrong? > > > > /Murat > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Problem test RadioChoice
i dont think the tester supports onselectionchanged callbacks. file an RFE -igor On Mon, Jun 30, 2008 at 6:43 AM, Murat Yücel <[EMAIL PROTECTED]> wrote: > Hi All > > I have some problem testing a RadioChoice which is overrides the methods: > wantOnSelectionChangedNotifications and onSelectionChanged. > > In my test class i use the method select on the FormTester, but is seems > like the onSelectionChanged method is never called. > I have looked at the select code and it seems like there have been made some > logic for a DropDownChoice. > > Does this only work for a DropDown or am i doing something wrong? > > /Murat > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem test RadioChoice
Hi, Have you try : YourRadioChoice.add(new AjaxFormComponentUpdatingBehavior("onchange") { private static final long serialVersionUID = 1L; protected void onUpdate(AjaxRequestTarget target) { .. target.addComponent(Component); } }); -- View this message in context: http://www.nabble.com/Problem-test-RadioChoice-tp18196023p18198138.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]
Problem test RadioChoice
Hi All I have some problem testing a RadioChoice which is overrides the methods: wantOnSelectionChangedNotifications and onSelectionChanged. In my test class i use the method select on the FormTester, but is seems like the onSelectionChanged method is never called. I have looked at the select code and it seems like there have been made some logic for a DropDownChoice. Does this only work for a DropDown or am i doing something wrong? /Murat