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

Tue, 03 Aug 2021 13:41:32 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 03 Aug 2021 13:41:32 +0200
changeset 209
c9c6abf167c7
parent 178
88207b860cba
child 214
69647ddb57f2
permissions
-rw-r--r--

#21 adds input validation mechanism

Also upgrades to Kotlin 1.5.21

<%@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:if test="${vid eq vselitem.id}">selected</c:if>
        >
            <c:out value="${vselitem.name}" />
        </option>
    </c:forEach>
</select>

mercurial