deprecatedclass %ZEN.Dialog.confirmationDialog
extends 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:
- Set the following before calling this dialog:
- %session.Data("Confirmation","Messages",1) - Message title such as "DELETE?".
- %session.Data("Confirmation","Messages",2) - Message line.
- %session.Data("Confirmation","Messages",3) - Prompt such as "Proceed?"
- %session.Data("Confirmation","btnOk",1) - Caption for the OK button such as "Yes".
- %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');
This is a Zen Page class.
parameter AUTONS = 0;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = "%ZEN";
Localization domain
parameter dialogTitle = "confirmationDialog";
method %DrawTitle(pSeed As %String)
as %Status
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
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method 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.
method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.