Skip to main content


deprecated class %ZEN.Dialog.errorDialog extends %ZEN.Dialog.standardDialog

This is the error dialog page. It displays an error message and a prompt which user can answer Yes or No. If error details are available in %session.Data("Errors","Details") then they are displayed in a listbox.
To use this class:
  1. Set the following before calling this dialog:
  2. %session.Data("Errors","Messages",1) - Message title such as "WARNING".
  3. %session.Data("Errors","Messages",2) - Message line.
  4. %session.Data("Errors","Messages",3) - Prompt such as "Proceed?"

Example calling this dialog:

Method Inventory


parameter AUTONS = 0;
Inherited description: If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = %ZEN;
Inherited description: Localization domain
parameter dialogTitle = errorDialog;


method %OnAfterCreatePage() as %Status
Load error message prompts set by the calling class. Load error details. Hide list box if nothing.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
clientmethod adjustSize() [ Language = javascript ]
Adjust size and position of components on this page.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod ondialogFinish(action) [ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab