"onSelectionChanged()" is not being called in 1.5.  It's working in 1.4.

Do I need to do any modification in my AppRadioChoice Class?

I have copied the main code snippet below,



   1.

   AppRadioChoice  deleteRadio = new AppRadioChoice("
   rdbutton",RadioChoiceEnum.YESNO){
   2.

   *public* *void* onSelectionChanged()
   3.

   {
   4.

   super.onSelectionChanged();
   5.

   System.out.println("Test");
   6.

   }
   7.

   *protected* *boolean* wantOnSelectionChangedNotifications()
   8.

   {
   9.

   *return* *true*;
   10.

   }
   11.

   }


AppRadioChoice.Java:

   1.

   *public* *class* AppRadioChoice *extends* *AbstractSingleSelectChoice*
   *implements* IOnChangeListener{
   2.

   *public* *void* onSelectionChanged()
   3.

   {
   4.

   convertInput();
   5.

   updateModel();
   6.

   onSelectionChanged(getDefaultModelObject());

   }
   7.

   }

Any help?

Reply via email to