/** * Override doDispatch method for handling custom portlet modes. * * @see javax.portlet.GenericPortlet#doDispatch(javax.portlet.RenderRequest, * javax.portlet.RenderResponse) */ protected void doDispatch(RenderRequest request, RenderResponse response) throws PortletException, IOException { if (!WindowState.MINIMIZED.equals(request.getWindowState())) { PortletMode mode = request.getPortletMode(); if (CUSTOM_CONFIG_MODE.equals(mode)) { doCustomConfigure(request, response); return; } } super.doDispatch(request, response); }
/** @see javax.portlet.Portlet#init() */ public void init() throws PortletException { super.init(); }