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:
- Create a C2A target model.
- Create a C2A source model.
- Publish a WAR to the IBM WebSphere Portal server.
- View the C2A portlet.
Parent topic: How do I use ClicktoAction portlets: wpf7
Event Handler builder: wpf7