我在<c:when/>
<c:forEach items="#{managedBean.genericFeaturesListEquips}"
var="genFeatCapacity" varStatus="genericFeatCapIndex">
<c:when test="${not empty genFeatCapacity.minLength && genFeatCapacity.minLength > 0 }">
<h:inputText value="min_#{genFeatCapacity.minLength}"/>
</c:when>
</c:forEach>
我在inputtextbox中获得的价值是min_
您可以检查minLength
是否为整数变量且值为空,但是为什么条件失败并打印min_
?