public void init(PortletConfig config) throws UnavailableException { super.init(config); try { this.layoutMgr = (LayoutManagerService) config.getContext().getService(LayoutManagerService.class); this.userManagerService = (UserManagerService) config.getContext().getService(UserManagerService.class); } catch (PortletServiceException e) { log.error("Unable to initialize services!", e); } /* moved to doRender String themesPath = getPortletConfig().getContext().getRealPath("/themes"); File f = new File(themesPath); if (f.isDirectory()) { themes = f.list(); } */ DEFAULT_VIEW_PAGE = "doRender"; DEFAULT_HELP_PAGE = "layout/help.jsp"; }
public void initConcrete(PortletSettings settings) throws UnavailableException { super.initConcrete(settings); }