Portlet aggregation using JSP

 

+

Search Tips   |   Advanced Search

 

Overview

The aggregation tag library generates a portlet aggregation framework to address one or more portlets on one page.

The aggregation tag library does not provide full featured portal aggregation implementation, but provides a good migration scenario if you already have aggregating servlets and JavaServer Pages and want to switch to portlets.

The aggregation tag library provides...

The aggregation tag library and JavaServer Pages that use the aggregation tag library will only work with the WAS portlet container implementation because the protocol between the tags and the container is not standardized.

The following diagram depicts how an HTML page would look like and what tags are used in order to create the page.

When you use the aggregation tag library, set the portletUrlPrefix attribute of the init tag to the aggregating application. We need to:

When aggregating multiple portlets on a single page, special care must be used with the naming conventions of form attribute names in your portlets. Because your portlets are all on the same page, they all share the same HttpServletRequest. When one portlet is viewed the entire page is refreshed and form data is re-posted. Therefore, if there are multiple portlets that are aggregated on a single page with the same form attribute names, there could be logic corruption when form data is re-posted.


Sub-topics

Aggregation tag library attributes
Example: Using the portlet aggregation tag library

 

Related tasks

Task overview: Managing portlets

 

Related Reference

Portlet container settings