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

Thu, 15 Oct 2020 18:36:05 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 15 Oct 2020 18:36:05 +0200
changeset 130
7ef369744fd1
parent 115
c27638a50c92
permissions
-rw-r--r--

adds the possibility to specify path parameters to RequestMapping

<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