Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
Confirmation dialog that can be used as a replacement for JS alert and confirm boxes.
It displays a message and presents one or two buttons with configurable captions and titles.
See the parameters and properties that control its behavior and their default values.
Button1 takes the role of the OK button and button 2 takes the role of the Apply button except that it also closes the popup.
The dialog can have a Cancel button which closes the dialog without notifying the caller page.
Examples:
zenLaunchPopupWindow('EnsPortal.Dialog.Confirmation.cls?MESSAGE=' + msg,'confirmationDialog','resizable,width=400,height=200');
where msg is a JS variable containing the message to be displayed in the dialog (use \n to include line-breaks in it).
Note: This class is for internal use of the Management Portal.
|
|
|
If true, then this dialog displays an Apply button.
If true, then this dialog displays a Cancel button.
Localization domain
|
|
Provide HTML for html title box.
Default implementation displays the standard Zen title bar.
Set message and buttons according to parameters.
Get the (localized) title string for the dialog. This should be implemented in a subclass.
Invoked when user clicks button 2 which is a dialog 'Apply' button. Overriden in order to close the dialog.
This is called when the user presses one of the buttons and after ondialogFinish.