Tue, 03 Aug 2021 13:41:32 +0200
#21 adds input validation mechanism
Also upgrades to Kotlin 1.5.21
1 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
3 <select name="${fieldname}" multiple>
4 <c:forEach var="vselitem" items="${selectionList}">
5 <option value="${vselitem.id}"
6 <c:forEach var="v" items="${data}">
7 <c:if test="${v eq vselitem}">selected</c:if>
8 </c:forEach>
9 <c:if test="${vid eq vselitem.id}">selected</c:if>
10 >
11 <c:out value="${vselitem.name}" />
12 </option>
13 </c:forEach>
14 </select>