Sample Cooperative portlets

 

Sample Cooperative portlets

 

+

Search Tips   |   Advanced Search

 

This topic lists the cooperative portlet samples provided with WebSphere Portal. These portlet applications interact with each other through the property broker.

  1. Shipping demo

    This demonstrates the declarative programming techniques that enable portlet interaction through the property broker. In the case of the IBM portlets only, this includes Click-to-Action. The Shipping demo is composed of five portlets. All five portlets must be placed on the same page to exploit the full cooperative features.

    Standard portlets

    standard portlet container pbjsrshipexample.war
    standard portlet container and struts pbjsrstrutsexample.war

    IBM portlets

    IBM portlet container pbshipexample.war
    IBM portlet container and struts pbstrutsexample.war

  2. Destination Guide demo

    For IBM portlets only.

    This includes the Tourist Information, Weather, and Map portlets. The Map portlet uses the advanced programming features of the property broker to display the Click-to-Action menus through a client-side image map rather than the standard Click-to-Action icon. This example demonstrates programmatic registration rather than using WSDL and also illustrates the use of the PropertyListener interface. This sample is named pbdestexample.war.

The IBM sample portlet applications demonstrate the capability to save property transfers as wires between portlets when users use the CTRL-click or ALT-click combination on the icon or image map. The key combination used depends on the browser.

The samples can be found in the wp_root/installableApps directory. Source is included in the WAR file. Subsequent updates to these samples are available from the portlet catalog by searching for navcode 1WP10004N.

 

Related information