Can any one tell me how to Display selected items(true) from choice group/List as StringItem or in Textbox.I know if list/choice is implicit/Exclusive this can be done as
StringItem slection= new StringItem(cg.getString(cg.getSelectedIndex()));
but how can i achieve same thing with multiple selection displaying selection in textbox with /n separator. Please help!!
public int getSelectedFlags(boolean�selectedArray_return)
Queries the state of a Choice and returns the state
of all elements in the
boolean array selectedArray_return. NOTE: this is a result parameter.
It must be at least as long as the size
of the Choice as returned by size().
If the array is longer, the extra elements are set to false.
so, I suggest you to try (suposing that your ChoiceGroup/List is named list):
Hope it helps,