I have <t:datatable>
inside which <c:forEach>
items inside <c:forEach>
have list. (I checked from backend bean).
<t:dataTable id="insuranceListTable" rowIndexVar="row" width="100%"
styleClass="table" cellspacing="0" border="0"
value="#{insuranceBackingBean.allInsurancesByPatientId}"
var="insuranceBean">
<h:column>
<f:facet name="header">
<f:verbatim>Drug Formulary</f:verbatim>
</f:facet>
<h:panelGroup id="formularyInformation">
<h:panelGroup rendered="#{!empty insuranceBean.response4CheckDrugFormulary.reactionList[0].warningList}">
<c:forEach items="${insuranceBean.response4CheckDrugFormulary.reactionList[0].warningList}" var="warning">
<b><span title="${warning.warningText}"><c:out value=" [${warning.warningCode}] "></c:out></span></b>
</c:forEach>
</h:panelGroup>
<a4j:commandLink onclick="setVisibleAlternativeListGrid();" rendered="#{!empty insuranceBean.response4CheckDrugFormulary.reactionList[0].drugAlternativeList.alternativeList}">
<a href="#" id="alternative">Alternative [<h:outputText value="#{insuranceBean.response4CheckDrugFormulary.reactionList[0].drugAlternativeList.count}"></h:outputText>]</a>
</a4j:commandLink>
<a4j:commandLink onclick="setVisibleAlternativeListGrid();" rendered="#{!empty insuranceBean.response4CheckDrugFormulary.reactionList[0].coPayList}">
<a href="#" id="coPay">Co-Pay</a>
</a4j:commandLink>
</h:panelGroup>
</h:column>
</t:dataTable>
Below doesn't reflect any thing... :(
<c:forEach items="${insuranceBean.response4CheckDrugFormulary.reactionList[0].warningList}" var="warning">
<b><span title="${warning.warningText}"><c:out value=" [${warning.warningCode}] "></c:out></span></b>
</c:forEach>