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

universe@83 1 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
universe@83 2
universe@83 3 <select name="${fieldname}" multiple>
universe@90 4 <c:forEach var="vselitem" items="${selectionList}">
universe@90 5 <option value="${vselitem.id}"
universe@83 6 <c:forEach var="v" items="${data}">
universe@90 7 <c:if test="${v eq vselitem}">selected</c:if>
universe@83 8 </c:forEach>
universe@178 9 <c:if test="${vid eq vselitem.id}">selected</c:if>
universe@83 10 >
universe@90 11 <c:out value="${vselitem.name}" />
universe@83 12 </option>
universe@83 13 </c:forEach>
universe@83 14 </select>

mercurial