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

Mon, 04 Jan 2021 15:25:59 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 04 Jan 2021 15:25:59 +0100
changeset 175
1e6f2aace666
parent 115
c27638a50c92
child 178
88207b860cba
permissions
-rw-r--r--

adds project ordering - fixes #34

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

mercurial