Portlet Factory, Version 6.1.2


 

Enabling Click-to-Action

When building IBM® WebSphere® Application Server portlets, you can enable a feature called Click-to-Action (C2A) that provides automatic front-end integration of portlets.

Click-to-Action lets users transfer data from a source portlet to one or more target portlets. The target portlet will react to the transferred data, causing information on its page to be refreshed.

One advantage of using Click-to-Action portlets is that the C2A-enabled menu on the source portlet will show only actions that other portlets on the page are listening for. If you do not know which portlets will be on a portal page, you may not want to create a link to explicitly call an action in case the portlet receiving that action is not available. In this case, using a Click-to-Action portlet is desirable because it will look at the portal page and see what actions portlets are listening for, and show only menu items for the relevant actions.

 

General procedure for enabling C2A events

The general procedure for creating models to be the source and target for Click-to-Action events is as follows:

  1. Create a C2A target model.

  2. Create a C2A source model.

  3. Generate a deployment WAR and deploy it on the IBM WebSphere Portal.

  4. View the C2A portlet.

Parent topic: How do I use Click-to-Action portlets?


Library | Support |