showUserMessage

Displays the given msg in an alert dialog. This should be called for all messages to be displayed to the application user rather than calling alert directly.

Note: The current implementation uses alert, which is blocking. If this is changed, this behavior needs to be considered for all calls that might depend on a blocking call.

Syntax

showUserMessage(msg, windowContext);

Parameters

  • msg - (String) The string to display in the alert dialog.
  • windowContext - (window) (Optional) The browser window instance. This can be passed in when called from a child browser window to prevent focus moving to the parent browser window.

Returns

none