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

Sun, 21 Jun 2020 12:32:25 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:32:25 +0200
changeset 94
edba952cfc57
parent 90
2c74e36752f9
permissions
-rw-r--r--

fix: issue form should always include the currently selected versions

<%@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