Skip to main content

%ZEN.Dialog.confirmationDialog

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

This is the confirmation dialog page. It displays confirmation message and a prompt which user can answer Yes or No. To use this class:
  1. Set the following before calling this dialog:
  2. %session.Data("Confirmation","Messages",1) - Message title such as "DELETE?".
  3. %session.Data("Confirmation","Messages",2) - Message line.
  4. %session.Data("Confirmation","Messages",3) - Prompt such as "Proceed?"
  5. %session.Data("Confirmation","btnOk",1) - Caption for the OK button such as "Yes".
  6. %session.Data("Confirmation","btnCancel",1) - Caption for the CANCEL button such as "No".

Example calling this dialog:
zenLaunchPopupWindow('%ZEN.Dialog.confirmationDialog.cls','confirmationDialog','resizable,width=380,height=180');

Property Inventory

Method Inventory

Parameters

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 = confirmationDialog;

Properties

Property methods: linkDisplayToLogical(), linkGet(), linkIsValid(), linkLogicalToDisplay(), linkLogicalToOdbc(), linkNormalize(), linkSet()

Methods

method %DrawTitle(pSeed As %String) as %Status
Inherited description: Provide HTML for html title box.
Default implementation displays the standard Zen title bar.
method %OnAfterCreatePage() as %Status
Load error message prompts set by the calling class
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.
method DrawHTML(pSeed) as %Status
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.
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab