1
如果我删除<c:if>
标签,它将显示来自findByClass
的所有项目。 如何使用<c:if>
或者是有一些其他的方式来显示eventId
为什么没有输出?
<ui:repeat value="#{eventsController.findByClass}" var="item">
<c:if test="${item.eventId==10}">
<h:outputText value="${item.eventName}"></h:outputText>
<p></p>
</c:if>
</ui:repeat>
谢谢!有用!!! (p.s.我不能给你投票了,因为我没有足够的声誉 – helloWorld 2015-04-05 19:13:46
不客气,很高兴我帮助。 – 2015-04-05 19:14:52