Portlet support

Communication between portlets is implemented in HATS using global variables. HATS global variables are stored in visual LTR format, which is typical for 3270 and 5250 systems. However, data stored in other operating system environments is typically stored in logical LTR format. This means that by default HATS portlets use bidirectional text strings stored in the visual LTR format, while non-HATS portlets may use logical LTR format for bidirectional text strings.

To enable the exchange of bidirectional text strings between HATS portlets (using visual LTR format) and non-HATS portlets (using logical LTR format), you must specify to HATS that format conversion is required. To do this in a sending HATS portlet, when adding or editing the Send Global Variable action, select Convert to logical bidi format. For more information, see Send global variable action. To do this in a receiving HATS portlet, when adding or editing the received property (JSR168) or event (JSR286), select Convert from logical bidi format. For more information, see Portlet settings.
Note:
Conversion should not be performed when communicating between two portlets using the same format, for example between two HATS portlets.