26.2. Source cooperative portlet
In this section, you will execute the following tasks to enable a JSR 168 portlet as a source cooperative portlet using the declarative approach:
Import the portlet if it is not in your workspace.
Declare exchange capabilities using WSDL.
Update the portlet.xml file to point to the WSDL file.
Update the portlet as follows:
- In the init() method add a reference to the property broker service
- In the processAction() method, send the output properties
- In the doView() method, check if the wire is active.
Update the JSP for View mode to create dynamic links.
26.2.1. Importing the HRPortlet168 portlet
You will enable the HRPortlet168 portlet to act as a source cooperative portlet. Follow these steps to import this portlet ...
Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.