O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required