src/main/webapp/WEB-INF/jspf/menu-entry.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
permissions
-rw-r--r--

adds custom node names - fixes #27

<div class="menuEntry"
     <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