FailedToRenderFragmentException
109110111112113114115116117118119
// should we decorate here instead of rendering Portlet ? container.renderPortlet(portletWindow, servletRequest, servletResponse); } catch (Exception e) { throw new FailedToRenderFragmentException("Unable to render fragment because: "+e.toString(), e); } finally { if (servletRequest!=null) {
166167168169170171172173
container.renderPortlet(portletWindow, servletRequest, servletResponse); } catch (Exception e) { throw new FailedToRenderFragmentException("Unable to render fragment because: "+e.toString(), e); } }
188189190191192193194195196197198
{ portletWindow = getPortletWindow(fragment); } catch (FailedToRetrievePortletWindow e) { throw new FailedToRenderFragmentException("Unable to render fragment because: "+e.toString(), e); } ContentDispatcherCtrl dispatcher = getDispatcherCtrl(request,true); HttpServletRequest servletRequest = request.getRequestForWindow(portletWindow); HttpServletResponse servletResponse = dispatcher.getResponseForWindow(portletWindow, request);