src/main/webapp/WEB-INF/jspf/menu-entry.jsp

Sat, 29 Aug 2020 17:32:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 17:32:59 +0200
changeset 107
b5f740a87af4
parent 97
602f75801644
child 109
2e0669e814ff
permissions
-rw-r--r--

fixes misbehavior when a non-existing project ID is selected

<div class="menuEntry level-${menu.level}"
     <c:if test="${menu.active}">data-active</c:if> >
    <a href="${menu.pathName}">
        <c:if test="${empty menu.resourceKey}">
            <c:out value="${menu.text}"/>
        </c:if>
        <c:if test="${not empty menu.resourceKey}">
            <fmt:bundle basename="${menu.resourceKey.bundle}">
                <fmt:message key="${menu.resourceKey.key}"/>
            </fmt:bundle>
        </c:if>
    </a>
</div>

mercurial