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

27.2. Source cooperative portlet

In this section, you will execute the following tasks to enable a source portlet for cooperative portlets using the declarative approach:

  1. Import the Echo portlet. This Struts portlet is provided as additional material and we assume that it has been downloaded to the following directory:

    c:\LabFiles\Struts Cooperative Portlets\

  2. Declare exchange capabilities using WSDL.

  3. Update the portlet descriptor (portlet.xml) file to refer to the WSDL file.

  4. Update the welcome struts action to get a reference to the property broker service.

  5. Add internationalization of captions and descriptions.

27.2.1. Importing the Echo portlet

Follow these steps to import the Echo portlet:

1.
Select File → Import. In the import panel select WAR ...

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