<c:when>多个condtion失败?

时间:2016-02-03 09:59:57

标签: jsf jstl el

我在<c:when/>

中有多个测试条件
<c:forEach items="#{managedBean.genericFeaturesListEquips}"
 var="genFeatCapacity" varStatus="genericFeatCapIndex">
    <c:when test="${not empty genFeatCapacity.minLength &amp;&amp; genFeatCapacity.minLength > 0 }">
    <h:inputText value="min_#{genFeatCapacity.minLength}"/>
    </c:when>
</c:forEach>

我在inputtextbox中获得的价值是min_

您可以检查minLength是否为整数变量且值为空,但是为什么条件失败并打印min_

0 个答案:

没有答案