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

Sun, 21 Jun 2020 12:38:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:38:15 +0200
changeset 95
0552cc5755f3
parent 90
2c74e36752f9
permissions
-rw-r--r--

fix: ... but ofc they should not appear more than once...

<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<select name="${fieldname}" multiple>
    <c:forEach var="vselitem" items="${selectionList}">
        <option value="${vselitem.id}"
                <c:forEach var="v" items="${data}">
                    <c:if test="${v eq vselitem}">selected</c:if>
                </c:forEach>
        >
            <c:out value="${vselitem.name}" />
        </option>
    </c:forEach>
</select>

mercurial