10.3. Content Driven Portlet

Portlet components are used to integrate content into the portal. It relies on a few conventions which allow the portal and the portlet to communicate.

10.3.1. Displaying content

At runtime the portal will call the portlet with the view mode when it displays content. It will send information about the content to display using the public render parameter urn:jboss:portal:content uri to the portlet. Therefore the portlet has just to read the render parameters and use them to properly display the content in the portlet. The public render parameters values are the key/value pairs that form the content properties and the resource URI of the content to display.