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

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

public class PortletRenderer
extends Object

This class is used to render all portlets.

Since:
Jira 3.7

Field Summary
static 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
 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 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 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-2009 Atlassian. All Rights Reserved.