Portlet aggregation and preferences
Subtopics
- Supported optional features of the JSR-286 Portlet Specification
The simple portal framework, which builds on top of the portlet container, is JSR-286-compliant. However, the WAS implementation supports a subset of the optional features in the JSR-286 Portlet Specification.
- Portlet aggregation using JSP
The aggregation tag library generates a portlet aggregation framework to address one or more portlets on one page If we write JSP, we can aggregate multiple portlets on one page using the aggregation tag library. This tag library does not provide full featured portal aggregation implementation, but provides a good migration scenario if you already have aggregating servlets and JSP and want to switch to portlets.
- Portlet preferences
Preferences are set by portlets to store customized information. By default, the PortletServingServlet servlet stores the portlet preferences for each portlet window in a cookie. However, we can change the location to store them in either a session, an .xml file, or a database.
- Portlet coordination
We can use either the events mechanism or the public render parameters mechanism to coordinate portlets within a portal.
- Converting portlet fragments to an HTML document
A portlet only delivers fragment output whereas a servlet typically delivers document output. However, we can use the PortletServingServlet servlet, which is similar to the FileServingServlet servlet, to address portlets like servlets.