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

Mon, 09 Aug 2021 16:25:50 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 09 Aug 2021 16:25:50 +0200
changeset 215
028792eda9b7
parent 214
69647ddb57f2
permissions
-rw-r--r--

#156 fixes auto-selection overriding issue data

<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<select id="issue-${fieldname}" 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