Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This function returns the type of display that is currently rendered in the browser. The possible return values are 'rdf' (Rich Display File), '5250' (5250 / Genie), and '5250-handler' (5250 with Genie Handler). 

Example:

Code Block
javascript
javascript
// Submit the screen to the server...
if (pui.getDisplayType() == "rdf")
  pui.click();
else
  pressKey("enter");