Skip to main content


developerWorks  >  WebSphere  >

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

developerWorks

Level: Intermediate

Ashwin Manekar (amaneka@us.ibm.com), Solution Test Engineer, WebSphere Platform Solution Test, IBM Corporation, Raleigh

06 Apr 2004

Get the downloads

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

DescriptionNameSizeDownload method
Banking C2A-enabled portletsBankingDemoC2A.zip28 KBFTP|HTTP
Article in PDF format 0404_manekar-Wire_Click2Action_V5.pdf .3 MBFTP|HTTP
Information about download methodsGet Adobe® Reader®


About the author

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 .




Rate this content


Please take a moment to complete this form to help us better serve you.



 


 


Not
useful
Extremely
useful
 


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


Rate this content

Help us improve this content