Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

c:forEach is not iterating list from dataTable list?

843844Mar 19 2008 — edited Mar 19 2008
dataTable code in xhtml file:

<h:dataTable id="dataTable" var="deal" value="#{myBean.arrays}">
<h:column>
<f:facet name="header">
<h:outputText value="Car"></h:outputText>
</h:column>
</f:facet>
<c:forEach items="#{deal.yields}" var="fan">
<h:column>
<f:facet name="header">
<h:outputText value="#{fan.name}" />
</f:facet>
</h:column>
</c:forEach>
</h:dataTable>
any one help me how to iterate list of element from the datatable list. help me.......
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2008
Added on Mar 19 2008
2 comments
149 views