|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LazyLoadingPortlet
This class allows the implementation of lazily loaded portlets. The portal page loads and shows a placeholder. An AJAX request is then sent to retrieve the portlet's actual body. Normal portlets can be lazily loaded with a default placeholder or a portlet can implement this interface and display customized loading HTML and additionally static HTML that will not be swapped out when the actual portlet body is displayed. In order for a portlet to be lazily loaded the attribute of the portlet tag "lazy" in the atlassian-plugin.xml must be set to true.
PortletImpl
,
Portlet
,
PortletRenderer
Method Summary | |
---|---|
String |
getLoadingHtml(PortletConfiguration portletConfiguration)
This method should return temporary HTML |
String |
getStaticHtml(PortletConfiguration portletConfiguration)
All JavaScript should be returned by this method. |
Methods inherited from interface com.atlassian.jira.portal.Portlet |
---|
getCornerThumbnail, getDescription, getDescriptor, getId, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hasPermission, init |
Method Detail |
---|
String getLoadingHtml(PortletConfiguration portletConfiguration)
portletConfiguration
- The portlet configuration for the current request
String getStaticHtml(PortletConfiguration portletConfiguration)
portletConfiguration
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |