BBjWebManager::executeScript
Description
In BBj 22.14 and higher, this method executes the specified JavaScript in this web page. This is equivalent to BBjSysGui::executeScript.
Note:
In BBj 22.03 and higher, BBjWebManager is an alias for BBjBuiManager.
Syntax
Return Value | Method |
---|---|
Object | executeScript(String script) |
Object | executeScript(String script, boolean await) |
Parameters
Parameter | Description |
---|---|
script | JavaScript to be executed in this BBjHtmlView. |
await | In BBj 23.04 and higher, this optional boolean value specifies that the DWC client should execute this script using the JavaScript await operator. If not specified, the default is false (0). |
Return Value
This method returns the execution result, converted from JavaScript to the closest Java equivalent. If the return value is a JavaScript type that can't be represented as a Java type, a simple String representation is returned.
Example
|
Version History
- BBj 23.04: Added an optional await argument.
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.