1.1 --- a/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Thu Oct 08 18:28:16 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Thu Oct 08 20:16:47 2020 +0200 1.3 @@ -230,12 +230,12 @@ 1.4 /** 1.5 * Sets the navigation menu. 1.6 * 1.7 - * @param req the servlet request object 1.8 - * @param navigationItems the menu entries for the navigation menu 1.9 + * @param req the servlet request object 1.10 + * @param jspName the name of the menu's jsp file 1.11 * @see Constants#REQ_ATTR_NAVIGATION 1.12 */ 1.13 - protected void setNavigationMenu(HttpServletRequest req, List<MenuEntry> navigationItems) { 1.14 - req.setAttribute(Constants.REQ_ATTR_NAVIGATION, navigationItems); 1.15 + protected void setNavigationMenu(HttpServletRequest req, String jspName) { 1.16 + req.setAttribute(Constants.REQ_ATTR_NAVIGATION, Functions.jspPath(jspName)); 1.17 } 1.18 1.19 /**