I have a selectManyListBox. I want to populate the selectItems dynamically at runtime using JSTL. My code is something like this:
<h:selectManyListbox id="manyList">
<c:forEach var="s" items="${myCollection}" >
<f:selectItem itemValue="<c
ut value="${s.id}"/>" itemLabel=<c
ut... />
</c:forEach>
</h:selectManyListbox>
My code is failing. Does anyone have a simple example of how to do this?
Seems like this should be really easy.
thanks,