32.5. Adding portlets

A portlet will be added to the new page. First of all, the portlet needs to be added to the workbench. The portlet that will be used for this sample scenario is a simple portlet that was previously created. The portlet name is HelloWorld and is available as WAR file.

Importing a portlet

Execute the following steps to import the HelloWorld sample portlet:

1.
Select File → Import
2.
From the Select window, select WAR file.
3.
Click Next.
4.
In the WAR Import window enter the following values:
  1. WAR file. The location of the portlet WAR file. For example:

    c:\LabFiles\Portal Project\HelloWorld.war
  2. Web Project. This field will be automatically set when the WAR file is selected. HelloWorld in this sample scenario.

  3. Target server: ...

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.