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 | ||||
---|---|---|---|---|
| ||||
// Submit the screen to the server...
if (pui.getDisplayType() == "rdf")
pui.click();
else
pressKey("enter"); |