com.atlassian.jira.web.portlet.bean
Class PortletRenderer

java.lang.Object
  extended by com.atlassian.jira.web.portlet.bean.PortletRenderer

public class PortletRenderer
extends java.lang.Object

This class is used to render all portlets.

Since:
Jira 3.7

Field Summary
static java.lang.String RENDER_NO_OUTPUT_AND_NO_AJAX_CALLHOME
          Portlets must return this sentinel value to indicate that they dont wish to render any content as well as not including the ajax call home javascript.
 
Constructor Summary
PortletRenderer()
           
 
Method Summary
 java.lang.String renderPortlet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, PortletConfiguration portletConfiguration, boolean allowLazyLoading)
          Renders the portlet refered to by the portlet configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RENDER_NO_OUTPUT_AND_NO_AJAX_CALLHOME

public static final java.lang.String RENDER_NO_OUTPUT_AND_NO_AJAX_CALLHOME
Portlets must return this sentinel value to indicate that they dont wish to render any content as well as not including the ajax call home javascript.

Constructor Detail

PortletRenderer

public PortletRenderer()
Method Detail

renderPortlet

public java.lang.String renderPortlet(javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse res,
                                      PortletConfiguration portletConfiguration,
                                      boolean allowLazyLoading)
Renders the portlet refered to by the portlet configuration.

Parameters:
req -
res -
portletConfiguration -
allowLazyLoading - This overrides the portlet configuration to disable lazy loading if set to false.
Returns:
HTML portlet


Copyright © 2002-2011 Atlassian. All Rights Reserved.