The aggregation tag library is used to aggregate multiple portlets on one page.
Supported arguments include:
This URL defines the prefix used for PortletURLs. Portlet URLs are created either by the state tag or within a portlet's render method, which is called by using the insert tag. This is a required attribute.
This URL defines the suffix used for PortletURLs. Portlet URLs are created either by the state tag or within a portlet's render method, which is called by using the insert tag. This is attribute optional.
This URL defines the query parameters used for PortletURLs. Portlet URLs are created either by the state tag or within a portlet's render method, which is called by using the insert tag. This is attribute optional.
Specifies the context root of the portlet application in which the portlet is deployed. This attribute is required.
Specifies the portlet-name. This attribute is required.
Defines the window ID for the concrete portlet instance. This attribute is required.
<%@ taglib uri="http://ibm.com/portlet/aggregation" prefix="portlet" %>
<portlet:scope>
<portlet:portlet context="/myportletcontext1/myportletcontext2” portletname="MyPortlet" windowId="sample"/>
</portlet:scope>
<portlet:init portletURLPrefix="/myportalcontext/ ">
….
</portlet:init>
Identifies the portlet for this tag by using the context and portlet-name to address the portlet. This attribute is required.
Defines the window ID for the portlet URL created by this tag. This is attribute optional.
If defined the URL is written into a variable with the given scope and name, not to the output stream. This is attribute optional.
This attribute is only valid if the var attribute is specified. If defined, the URL is not written to the output stream but a variable is created in the given scope with the given name. The default is page. This is attribute optional.
This attribute sets the portlet mode.
This attribute sets the window state.
This attribute defines whether this is an action URL. This is attribute optional. The default is false.
Indicates the name of the parameter. This is attribute required.
Indicates the value of the parameter. This is attribute required.
This is attribute required.
Defines the window ID of the portlet. This is attribute optional.
If defined, the portlet's content is not written to the output stream but written into a variable with the given scope and name. This is attribute optional.
This attribute is only valid if the contentVar tag is used. If defined, the portlet's content is written into a variable with the given scope and name, not to the output stream. The default is page. This is attribute optional.
If defined the portlet's title is written into a variable with the given scope and name. If it is not defined, the title is ignored and not written to the output stream. This is attribute optional.
This attribute is only valid if titleVar tag is used. If defined, the portlet's title is written into a variable with the given scope and name, not to the output stream. The default is page. This is attribute optional.