JSTLc:如果JSFh:dataTable内部不工作
<c:if>
<h:outputLink>
<h:dataTable>
<h:dataTable value="#{bean.items}" var="item" width="80%"> <h:column> <f:facet name="header"> <h:outputText value="State" /> </f:facet> <c:if test="#{item.state != 'Finish'}"> <h:outputText value="Missing value" /> </c:if> <c:if test="#{item.state == 'Finish'}"> <h:outputLink value="myLink"> <h:outputText value="Value = #{item.state}" /> </h:outputLink> </c:if> </h:column></h:dataTable>
侃侃无极
相关分类