src/main/webapp/WEB-INF/jspf/version-list.jsp

changeset 90
2c74e36752f9
parent 83
24a3596b8f98
equal deleted inserted replaced
89:c69d5cb11d6c 90:2c74e36752f9
1 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 1 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
2 2
3 <select name="${fieldname}" multiple> 3 <select name="${fieldname}" multiple>
4 <c:forEach var="version" items="${versions}"> 4 <c:forEach var="vselitem" items="${selectionList}">
5 <option value="${version.id}" 5 <option value="${vselitem.id}"
6 <c:forEach var="v" items="${data}"> 6 <c:forEach var="v" items="${data}">
7 <c:if test="${v eq version}">selected</c:if> 7 <c:if test="${v eq vselitem}">selected</c:if>
8 </c:forEach> 8 </c:forEach>
9 > 9 >
10 <c:out value="${version.name}" /> 10 <c:out value="${vselitem.name}" />
11 </option> 11 </option>
12 </c:forEach> 12 </c:forEach>
13 </select> 13 </select>

mercurial