Hi, I read the wiki on how to use the <si:selectItems> several times, looked at the examples, but I still run into the following excepiton:
javax.faces.FacesException: value must be iteratable But I'm returning a List, which is iteratable. I'm using JBoss 4.04GA, with Seam 1.0.1 GA and 1.1.1beta2 of selectItems. Does somebody see anything wrong with code here: The function to build the List: ---------------------------------------- @SuppressWarnings("unchecked") @Factory("clients") public List buildClients() { List client = entityManager.createQuery("from Client").getResultList(); return client; } The JSP snippet, which causes the exception --------------------------------------------------- <h:selectOneMenu value="#{clientsActionBean.client}" required="false"> <si:selectItems value="#{clients}" var="c" label="#{c.name}" noSelectionLabel="Please Select..."/> </h:selectOneMenu> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991287#3991287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991287 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user