Fri, 09 Oct 2020 11:50:21 +0200
adding a new project redirects to the projects overview (because we do not retrieve the ID of the inserted project yet)
<%@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>