Hi,
I currently have a form which includes a SelectItem created in the following way:
I am populating my form with data sent in JSON format. But I am unable to set the SelectItem when the value is more than one checkbox. If the value is a single value, it will set correctly, but if the value is multiple values, it does not set the value correctly.
What is the format of the value for setting a SelectItem? In particular when the SelectItem has multiple values.
Any help would be greatly appreciated!
- Justin
I currently have a form which includes a SelectItem created in the following way:
Code:
final SelectItem xxxxItem = new SelectItem("xxx", "Xxx Yyy");
themeItem.setMultiple(true);
themeItem.setMultipleAppearance(MultipleAppearance.PICKLIST);
What is the format of the value for setting a SelectItem? In particular when the SelectItem has multiple values.
Any help would be greatly appreciated!
- Justin
Comment