Wiring Click-to-Action portlets for inter-portlet communication in WebSphere Portal V5

See how to enable two banking portlets to share business data, with minimal programming. WebSphere Portal V5 lets you wire two portlets so they can share data over a persistent connection, using Click-to-Action enabled portlets. You see how to enable and wire source and target portlets.

Ashwin Manekar (amaneka@us.ibm.com), SWG Scenario Analysis Lab, RTP, IBM

Ashwin Manekar

Ashwin Manekar is a Solution Test Engineer in the WebSphere Solution Test department at IBM, Raleigh. Ashwin holds a MS degree in Computer Science from the University of North Carolina, Charlotte. You can reach Ashwin at amaneka@us.ibm.com .



06 April 2004

See how to enable two banking portlets to share business data, with minimal programming. WebSphere Portal V5 lets you wire two portlets so they can share data over a persistent connection, using Click-to-Action enabled portlets. You see how to enable and wire source and target portlets.

Description

Wiring, a new feature introduced in IBMR WebSphereR Portal V5, facilitates data transfer over a persistent connection between portlets. When a user holds the CTRL key and clicks on the Click-to-Action (hereafter referred as C2A) enabled icon, a menu option is provided to save the selection as a persistent connection between two portlets; this connection is called a wire. If a wire is present the next time the user clicks on the icon, no selection menu is shown. Instead, the wired actions are automatically fired, which causes the wired portlets to react and display a new view with the results.

This article shows you the quickest approach for creating C2A-enabled portlets for WebSphere Portal Version 5. It provides step-by-step instructions for enabling C2A between portlets and for implementing a wire between the C2A-enabled portlets, with minimal code and configuration. To follow along in the code as you read through this article, you can download the sample application that is provided with this article.

Downloads

DescriptionNameSize
Banking C2A-enabled portletsBankingDemoC2A.zip  ( HTTP | FTP )28 KB
Article in PDF format 0404_manekar-Wire_Click2Action_V5.pdf  ( HTTP | FTP ) .3 MB
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=14494
SummaryTitle=Wiring Click-to-Action portlets for inter-portlet communication in WebSphere Portal V5
publish-date=04062004