Communicating with non-HATS JSR 168 portlets

Rational® SDP provides GUI support to implement cooperative portlets. When configuring non-HATS JSR 168 portlets to communicate with HATS JSR 168 portlets, perform the following steps:
  1. Open the Project Explorer view from the Rational® SDP menu bar by selecting Window > Show View > Other > General > Project Explorer.
  2. From the Project Explorer view, right-click the Portlet Deployment Descriptor node under the portlet project.
  3. Select Cooperative > Enable this Portlet to Send Data (Source) or Cooperative > Enable this Portlet to Receive Data (Target) to start the wizard to enable cooperative portlet support for the selected portlet.
  4. Ensure the following settings are correct in this wizard:
    • Data Type URI = http://com.ibm.hats.portlet.pb#<property_name>Type. The URI contains the namespace followed by the type of the property. Properties sent, or received, by HATS JSR 168 portlets use com.ibm.hats.portlet.pb as the namespace.
      Note:
      The word, Type, must begin with an uppercase T.
    • Java Type = java.lang.String. HATS portlets send, or receive, properties as String.