src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java

changeset 96
b7b685f31e39
parent 86
0a658e53177c
child 97
602f75801644
equal deleted inserted replaced
95:0552cc5755f3 96:b7b685f31e39
226 protected void setContentPage(HttpServletRequest req, String pageName) { 226 protected void setContentPage(HttpServletRequest req, String pageName) {
227 req.setAttribute(Constants.REQ_ATTR_CONTENT_PAGE, Functions.jspPath(pageName)); 227 req.setAttribute(Constants.REQ_ATTR_CONTENT_PAGE, Functions.jspPath(pageName));
228 } 228 }
229 229
230 /** 230 /**
231 * Sets the breadcrumbs menu. 231 * Sets the navigation menu.
232 * 232 *
233 * @param req the servlet request object 233 * @param req the servlet request object
234 * @param breadcrumbs the menu entries for the breadcrumbs menu 234 * @param navigationItems the menu entries for the navigation menu
235 * @see Constants#REQ_ATTR_BREADCRUMBS 235 * @see Constants#REQ_ATTR_NAVIGATION
236 */ 236 */
237 protected void setBreadcrumbs(HttpServletRequest req, List<MenuEntry> breadcrumbs) { 237 protected void setNavItems(HttpServletRequest req, List<MenuEntry> navigationItems) {
238 req.setAttribute(Constants.REQ_ATTR_BREADCRUMBS, breadcrumbs); 238 req.setAttribute(Constants.REQ_ATTR_NAVIGATION, navigationItems);
239 } 239 }
240 240
241 /** 241 /**
242 * @param req the servlet request object 242 * @param req the servlet request object
243 * @param location the location where to redirect 243 * @param location the location where to redirect

mercurial