MessageContainer

MessageContainer is one these types:

MessageContainer
Page
WebForm
WebFormEventOwner

The MessageContainer represents any element (a com.ebasetech.xi.api.controls.Control or Page) that supports the addition of error and warning messages.

MessageContainer Functions

addErrorMessage MessageContainer.addErrorMessage( message [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessage MessageContainer.addErrorMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessageText MessageContainer.addErrorMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user, sourced from an existing text.
addInfoMessage MessageContainer.addInfoMessage( message [, stopProcessing ] ) Adds an information message that will be displayed to the user.
addInfoMessageText MessageContainer.addInfoMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an info message that will be displayed to the user, sourced from an existing text.
addWarningMessage MessageContainer.addWarningMessage( message [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessage MessageContainer.addWarningMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessageText MessageContainer.addWarningMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user, sourced from an existing text.
existErrorMessages MessageContainer.existErrorMessages( ) Returns true if undisplayed error messages exist for this element, otherwise returns false.
existInfoMessages MessageContainer.existInfoMessages( ) Returns true if undisplayed info messages exist for this element, otherwise returns false.
existMessages MessageContainer.existMessages( ) Returns true if undisplayed info, warning or error messages exist for this element, otherwise returns false.
existWarningMessages MessageContainer.existWarningMessages( ) Returns true if undisplayed warning messages exist for this element, otherwise returns false.