nested af:forEach loop
902407Mar 14 2012 — edited Mar 14 2012Hi,
How can i use nested af:forEach loop. I can't use af:iterator for sure, please provide solution only using af:forEach.
<af:forEach items ="#{bindings.parentVO.rangeSet}" var ="parent">
<af:forEach items ="#{parent.chidVO}" var="child">
<af:outputLabel value="#{child.empId}"/>
</af:forEach>
</af:forEach>
here child.empId is not printing any value. Data is proper and bindings are also fine. Please guide why forEach is not working with parent-child VO?
I guess in second forEach loop I am missing something like parent.childVO._something_ i tried using parent.childVO.rangeSet and other option but it didn't work
Edited by: 899404 on Mar 14, 2012 10:47 AM