--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/webapp/WEB-INF/jspf/version-list.jsp Sat May 30 18:05:06 2020 +0200 @@ -0,0 +1,13 @@ +<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> + +<select name="${fieldname}" multiple> + <c:forEach var="version" items="${versions}"> + <option value="${version.id}" + <c:forEach var="v" items="${data}"> + <c:if test="${v eq version}">selected</c:if> + </c:forEach> + > + <c:out value="${version.name}" /> + </option> + </c:forEach> +</select>