@Override public void doBeforeRender(HstRequest request, HstResponse response) throws HstComponentException { super.doBeforeRender(request, response); KKComponentUtils.setGlobalKonakartAttributes(request); }
/** * The multiple site menu names are configured by configuration parameter "breadcrumb-menus", * defaulting to "main". * * @param request * @return */ protected List<String> getSitemenuNames(HstRequest request) { List<String> list = new ArrayList<String>(0); String menuNames = component.getParameter(PARAMETER_MENUS, request); if (menuNames == null) { list.add("main"); } else { String[] names = menuNames.split(","); for (int i = 0; i < names.length; i++) { list.add(names[i].trim()); } } return list; }
/** * Returns the separator string that separates two breadcrumb items. It is configured by * configuration parameter "breadcrumb-separator", defaulting to "»". * * @param request * @return */ protected String getSeparator(HstRequest request) { String separator = component.getParameter(PARAMETER_SEPARATOR, request); return (separator != null) ? separator : "»"; }