Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 13 GI Forms Interface : Interface Properties and Methods : showUserMessage

showUserMessage
Purpose
Displays an alert dialog with the given message. If this is a child browser window, the alert is sent to the child window context to prevent focus being moved to the parent browser window.
Note - Custom GI forms should call this.showUserMessage (vs. alert) to prevent window focus from shifting back to the parent window.
Syntax
showUserMessage(message)
Parameters
 
Returns
Void
Example
The following is an example usage:

 
this.showUserMessage(
   'Invalid format:' +
   '\n\n Field name: ' + fieldName +
   '\n\n Current value: ' + fieldValue +
   '\n\n Expected format: ' + pattern + '.');

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved