Adding wires

In order to add a wire between portlets on a portal page, you must have the portlet project(s) that contain the source and target portlets in your workspace.
To add wires to a portal page, follow these steps:
  1. Import or create a Portal project for WebSphere® Portal 5.1.
  2. Add portlet projects with cooperative portlets to your workspace.
  3. Open the portal project's Portal Configuration file.
  4. Create a page, and layout any of the portlets that you intend to wire.
  5. Ensure that the page is selected in the Portal Configuration.
  6. Open the Properties view and select the Wires tab. The Wires page in the Properties view shows any existing wires in the page, and enables you to add wires between any portlets in projects space. You can also remove wires from the page, even if portlets are not available in your workspace.
  7. Click Add to open the New Wire dialog box. This dialog only displays candidates that can configure new wires. Based on information supplied by the available portlet projects, select values in each of the following list boxes:
    • Source portlet: Portlet on the page that provides information to other portlets.
    • Property: The type of information that the portlet is capable of sending.
    • Target portlet: The portlet receiving the information from the source. Only portlets that are capable of processing the sent information are shown.
    • Action: The action that the portlet can perform after receiving the information. Only actions that are capable of handling the property information are shown.
  8. Click OK to create the wire. The wire is added to the table in the Wires page of the Properties view. You can add any number of wires using the portlets on the page.
  9. Save the Portal Configuration.
Deploy or export the portal project to a portal server to verify the wiring behavior. (You can also run the portal in the WebSphere Portal v5.1 test environment to perform preliminary testing.)
To deploy new wires between IBM® portlet API portlets defined using Portal Designer to a WebSphere Portal 5.1 remote server, you must perform the following steps first:
  1. Locate the ConfigService.properties file in the wp51_installdir/PortalServer/shared/app/config/services directory.
  2. Open the ConfigService.properties file, and set the host.name and host.port.http properties to the hostname and HTTP port of the target portal server used for the import.
  3. Save the file.
  4. Restart WebSphere Portal.
Note: These steps are not required for using the WebSphere Portal 5.1 Test Environment. They are required only for deploying to a WebSphere Portal 5.1 remote server.
Related concepts
Wiring cooperative portlets
Developing cooperative portlets
Related tasks
Enabling existing portlets for cooperation
Enabling cooperative sources
Enabling cooperative targets
Related reference
WebSphere Portal Information Center
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.