ich in die Erstellung von Rich ein Problem habe: Combobox i als habeErstellen einer Combobox in Richfaces
<rich:comboBox selectFirstOnUpdate="false" defaultLabel="Enter some value">
<f:selectItems value="#{userregister.selectItems}" />
</rich:comboBox>
und im Backing Bean folgt erstellt i die selectItems als
List<UISelectItem> selectItems;
UISelectItem uisi = new UISelectItem();
uisi.setItemLabel("label");
uisi.setValue("value");
selectItems.add(uisi);
Aber ich folgt bekomme ich die Ausnahme javax.servlet.ServletException: Value of tag <selectItems> attribute is incorrect.
Was ist der richtige Weg, um eine Combobox mit dynamischen Werten zu erstellen?