Sending a property from a HATS JSR 168 portlet

  1. Create a global variable containing the value of the property to send. You can do this in several ways including: executing an Extract global variable action or a Set global variable action. Only global variables that can contain zero or more strings (no other type) can be used in JSR 168 portlet communication. Global variables can be thought of as wrappers for the values of JSR 168 properties.
  2. Add a Send global variable action to a HATS screen event or to an unmatched screen application event to send the value of the global variable as a property. For information about how to do this, see Send global variable action.

    This action can be used in conjunction with the Extract global variable action to send input entered by the user from one portlet to another. For example, you can add an Extract global variable action between the Apply transformation action and the Send global variable action to capture data the user enters and send it to other portlets.

  3. When the HATS JSR 168 portlet project is run and the Send global variable action is executed, the property name and the string contents of the specified global variable are passed to WebSphere® Portal which then notifies the portlets wired to this HATS JSR 168 portlet to receive the property.