Hi, i was wondering how do you differentiate the value of the selected choice in a Choicegroup.multiple.
typeChoice = new ChoiceGroup("Format:", Choice.MULTIPLE);
typeChoice.append("Bold", null);
typeChoice.append("Italic", null);
form.append(typeChoice);
System.out.println("THis is the typeCHoice value : " + typeChoice.getSelectedIndex());
and when i s.o.p for the value, it always return a -1, with that i can't set an if/else for the value.

Reply With Quote




