Portlet API extensions
The following extensions to the WebSphere Portal Portlet API reside in the package com.ibm.wps.portlet.*
- Portlet menus
allow a portlet to add menu entries into the navigation tree of the portal using a dynamic or static method. See portlet menus for a complete description and example.
- Event phase listener
enables portlets to send message events to other portlets, even though no portlet action event is fired. For portlets that implement this interface, the beginEventPhase() method is called before actionPerformed() and prior to messages being sent. A portlet needs to be placed on the currently displayed page to receive a notification, but it gets the notification even when it is not displayed.
Event phase listeners are often used by cooperative portlets. See Event handling in Concepts of cooperative portlets for more information. For code examples, see Cooperative portlet samples.
See also