I have a code xhtml:
...
<p:accordionPanel var="mVar" value="#{someBean.someList}" >
<p:tab>
<f:facet name="title">
<h:outputText value="#{mVar.id} - #{mVar.name}"/>
...
</f:facet>
<h:panelGrid>
...
<c:forEach items="#{someBean.someFunctionReturningList(mVar.id)}" var="mImg">
<h:outputText value="#{mImg}"/>
</c:forEach>
</h:panelGrid>
</p:tab>
</p:accordionPanel>
...
And the java code:
public List<String> listAllImagesForCampaign(BigInteger id) {
List<String> allImages = new ArrayList<String>();
...
return allImages;
}
And the problem is, that BigInteger id contains value 0, when mVar.id is 64 for example. Is there a bug that i cant catch or sth wrong with primeface component?