Once you have developed a receiver portlet, you can develop a sender portlet.
To develop a sender portlet, add the following to the sender portlet model:
- Add a Cooperative Portlet Source builder and use this builder to add a C2A menu to a page.
Make sure to specify the page in your project on which the menu is to appear and the tag within that page with which the menu is to be associated. It is also important to remember that the Input Type Name must match the Input Type Name input of the Cooperative Portlet Target builder from your receiver portlet.
- Add a Portlet Adapter builder.
This builder call provides your model with a portlet title so that the portlet can be added to a page in IBM® WebSphere® Portal server. Because cooperative portlets were designed to function in a WebSphere Portal environment, it is important to remember this simple, but important, step.
Parent topic: Developing portlets