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

Thu, 22 Oct 2020 13:03:26 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 22 Oct 2020 13:03:26 +0200
changeset 138
e2aa673dd473
parent 115
c27638a50c92
child 178
88207b860cba
permissions
-rw-r--r--

adds custom node names - fixes #27

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