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:
- Open the Project Explorer view from the Rational® SDP menu bar by selecting Window > Show View > Other > General > Project Explorer.
- From the Project Explorer view, right-click the Portlet Deployment Descriptor node under the portlet project.
- 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.
- 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 usecom.ibm.hats.portlet.pbas the namespace.Note:The word,Type, must begin with an uppercaseT. - Java™ Type =
java.lang.String. HATS portlets send, or receive, properties as String.
- Data Type URI =