Creating a cooperative portlet source modelAdded by IBM on August 31, 2010 | Version 1 (Original)
|If you developed a cooperative portlet target model, you can develop a cooperative portlet source model.
If you developed a cooperative portlet target model, you can develop a cooperative portlet source model.
When you develop a cooperative portlet application, develop a target portlet first to define the type of data or events to receive. This approach simplifies your design decisions when you develop a source portlet.
- Add a Cooperative Portlet Source builder to your model.
The output information specified in the Cooperative Portlet Source builder of any source portlets that wish to interact must match the input information in the Cooperative Portlet Target builder.
- Use the Cooperative Portlet Source builder to add either a Property Broker or C2A Single menu link to a specified location on a page in your model.
Use Property Broker Action if you intend to manually add your own user interface (UI), for example, a button or link, to trigger the Property Broker action.
Note: The Property Broker Link and Action functionality is available only for JSR 168 and JSR 286 portlets. C2A menu functionality is available only for IBM native portlets.
- Specify the page location in your model on which the menu or link is to appear and specify the value to be passed to the target portlet.
- Ensure that the data type matches the information specified in your Cooperative Portlet Target builder.
- Add a Portlet Adapter builder to the model.
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 are designed to function in a WebSphere Portal environment, it is important to remember this simple, but important, step.
How do I use cooperative portlets: wpf7
Cooperative portlets are available in IBM WebSphere Portal version 6 and later. Cooperative portlets can interact with each other to share information.
Introduction to portlets: wpf7
IBM WebSphere Portlet Factory enables you to rapidly deliver dynamic, highly customizable, and adaptive portlets.
Parent topic: Developing portlets: wpf7