selectonemenu gives IllegalArgumentException exception

时间:2017-06-22 15:25:43

标签: jsf-2

I am using a selectonemenu to select a group from a list of groups, but it gives me an exception:

java.lang.IllegalArgumentException
    at com.sun.faces.renderkit.SelectItemsIterator.initializeItems(SelectItemsIterator.java:212)


<h:selectOneMenu   id="group">
    <f:selectItems value=" #{groupBean.getAllGroups(myEntityBean.entitySelected.id)}" var="theGroup" itemValue="#{theGroup.id}" itemLabel="#{theGroup.libelle}" />
</h:selectOneMenu>

any ones help , thanks

0 个答案:

没有答案