0
我正在使用JSTL 1.1.2和标准Jar 1.1.2。 c:forEach标记不会呈现任何值。我还检查了它是否具有值“#{workflowTargetStepSelect.selectedIndex}”。它有2个值。但是下拉菜单显示了我的空白。c:foreach标记不呈现
xmlns:c=http://java.sun.com/jsp/jstl/core
<h:selectOneMenu value="#{workflowTargetStepSelect.selectedIndex}">
<c:forEach var="step" items="#{workflowTargetStepSelect.items}" varStatus="loop">
<f:selectItem itemLabel="#{step.prettyNameForRoleType}" itemValue="#{loop.index}" />
</c:forEach>
</h:selectOneMenu>
删除#号并放$标记 – 2014-12-03 08:44:50