Does anyone has any idea, why this code would work:
<h:outputText value="#{allocations[0].policyNumber}" />
and this code would work:
<c:forEach var="i" begin="1" end="5">
<h:outputText value="aaa"/>
</c:forEach>
But this code would NOT work (nothing appears in GUI):
<c:forEach var="allocation" items="#{allocations}" >
<h:outputText value="aaa"/>
</c:forEach>
I am using namespace "http://java.sun.com/jstl/core". allocations is a collection in java. I have tried everything I could think of and have no idea what to try next.