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

Sun, 01 Aug 2021 17:01:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 01 Aug 2021 17:01:59 +0200
changeset 203
7d5b16379768
parent 178
88207b860cba
child 214
69647ddb57f2
permissions
-rw-r--r--

#152 same sort order for versions and version summaries

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