public String getRSSName() { if (_rssName != null) { return _rssName; } ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); PortletDisplay portletDisplay = themeDisplay.getPortletDisplay(); _rssName = _portletPreferences.getValue("rssName", portletDisplay.getTitle()); return _rssName; }
@Override public boolean includeIcon(HttpServletRequest request, HttpServletResponse response) throws IOException { ThemeDisplay themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY); PortletDisplay portletDisplay = themeDisplay.getPortletDisplay(); request.setAttribute( ProductNavigationControlMenuWebKeys.PORTLET_DESCRIPTION, portletDisplay.getDescription()); request.setAttribute( ProductNavigationControlMenuWebKeys.PORTLET_TITLE, portletDisplay.getTitle()); return super.includeIcon(request, response); }