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

Sun, 04 Apr 2021 11:52:30 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 04 Apr 2021 11:52:30 +0200
changeset 185
5ec9fcfbdf9c
parent 178
88207b860cba
child 214
69647ddb57f2
permissions
-rw-r--r--

re-enables the "create another" feature

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