0 Replies Latest reply on Jul 16, 2009 11:56 AM by 807575

    CheckBox Group Get Selected Items

      Hi, I have a problem with a CheckBox Group.
      I have different items in the CheckBox Group, and I get the items that are selected.
      When I do the checkboxgroup.getselected () returns the selected items, but I do not know how to get the values separately.

      I tried to do:
      ArrayList array = new ArrayList ();
      array. add (checkboxgroup.getSelected ());

      but in the array.get (0) add all the values. And I need:

      array.get (0) -> first value selected checkboxgroup
      array.get (1) -> second value selected checkboxgroup
      array.get (2) -> third value selected checkboxgroup

      Thank's !

      Edited by: henrynxd_08 on Jul 16, 2009 4:55 AM