Hi,
I don't understand. I have this message :
Value binding '#{ben.allItems}'of UISelectItems with component-path {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /page.xhtml][Class: javax.faces.component.html.HtmlForm,Id: codeProduitForm][Class: javax.faces.component.html.HtmlSelectOneMenu,Id: ids][Class: javax.faces.component.UISelectItems,Id: _id33]} does not reference an Object of type SelectItem, SelectItem[], Collection or Map but of type : null
... <h:selectOneMenu id="selectProduit" value="#{bean.code}" > <f:selectItems value="#{bean.allItems}"/> </h:selectOneMenu> ...
private String code; private SelectItem item1 = new SelectItem("code1", "produit1"); private SelectItem item2 = new SelectItem("code2", "produit2"); private SelectItem allProduits[] = new SelectItem[]{item1,item2}; ... getter/setter...
maybe it's not the good section of the forum for this question, I'm sorry