Skip to main content

EnsPortal.Dialog.Choice

This class is for internal use of the Management Portal.

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 1;
Inherited description: If true, then this dialog displays an Apply button.
parameter CANCELBUTTON = 1;
Inherited description: If true, then this dialog displays a Cancel button.
parameter DOMAIN = Ensemble;
Inherited description: Localization domain
parameter OKBUTTON = 1;

Properties

property ActionButtons as %ZEN.Datatype.integer (ZENURL = "ACTIONBUTTONS") [ InitialExpression = 2 ];
Property methods: ActionButtonsDisplayToLogical(), ActionButtonsGet(), ActionButtonsIsValid(), ActionButtonsLogicalToDisplay(), ActionButtonsLogicalToOdbc(), ActionButtonsNormalize(), ActionButtonsSet()
property Button1Caption as %ZEN.Datatype.string (ZENURL = "CAPTION1") [ InitialExpression = $$$TextJS("Disable") ];
Property methods: Button1CaptionDisplayToLogical(), Button1CaptionGet(), Button1CaptionIsValid(), Button1CaptionLogicalToDisplay(), Button1CaptionLogicalToOdbc(), Button1CaptionNormalize(), Button1CaptionSet()
property Button1Title as %ZEN.Datatype.string (ZENURL = "TITLE1") [ InitialExpression = $$$TextJS("Confirm and close") ];
Property methods: Button1TitleDisplayToLogical(), Button1TitleGet(), Button1TitleIsValid(), Button1TitleLogicalToDisplay(), Button1TitleLogicalToOdbc(), Button1TitleNormalize(), Button1TitleSet()
property Button2Caption as %ZEN.Datatype.string (ZENURL = "CAPTION2") [ InitialExpression = $$$TextJS("Restart") ];
Property methods: Button2CaptionDisplayToLogical(), Button2CaptionGet(), Button2CaptionIsValid(), Button2CaptionLogicalToDisplay(), Button2CaptionLogicalToOdbc(), Button2CaptionNormalize(), Button2CaptionSet()
property Button2Title as %ZEN.Datatype.string (ZENURL = "TITLE2") [ InitialExpression = $$$TextJS("Disable and close") ];
Property methods: Button2TitleDisplayToLogical(), Button2TitleGet(), Button2TitleIsValid(), Button2TitleLogicalToDisplay(), Button2TitleLogicalToOdbc(), Button2TitleNormalize(), Button2TitleSet()
property Button3Caption as %ZEN.Datatype.string (ZENURL = "CAPTION3") [ InitialExpression = $$$TextJS("Cancel") ];
Property methods: Button3CaptionDisplayToLogical(), Button3CaptionGet(), Button3CaptionIsValid(), Button3CaptionLogicalToDisplay(), Button3CaptionLogicalToOdbc(), Button3CaptionNormalize(), Button3CaptionSet()
property Button3Title as %ZEN.Datatype.string (ZENURL = "TITLE3") [ InitialExpression = $$$TextJS("Cancel and close") ];
Property methods: Button3TitleDisplayToLogical(), Button3TitleGet(), Button3TitleIsValid(), Button3TitleLogicalToDisplay(), Button3TitleLogicalToOdbc(), Button3TitleNormalize(), Button3TitleSet()
property CancelButton as %ZEN.Datatype.integer (ZENURL = "CANCELBUTTON") [ InitialExpression = 1 ];
Property methods: CancelButtonDisplayToLogical(), CancelButtonGet(), CancelButtonIsValid(), CancelButtonLogicalToDisplay(), CancelButtonLogicalToOdbc(), CancelButtonNormalize(), CancelButtonSet()
property Icon as %ZEN.Datatype.string (ZENURL = "ICON") [ InitialExpression = "portal/warning_64.png" ];
Property methods: IconDisplayToLogical(), IconGet(), IconIsValid(), IconLogicalToDisplay(), IconLogicalToOdbc(), IconNormalize(), IconSet()
property Message as %ZEN.Datatype.string (ZENURL = "MESSAGE") [ InitialExpression = $$$Text("Confirmation") ];
Property methods: MessageDisplayToLogical(), MessageGet(), MessageIsValid(), MessageLogicalToDisplay(), MessageLogicalToOdbc(), MessageNormalize(), MessageSet()

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
Set message and buttons according to parameters.
method %OnGetTitle() as %String
Inherited description: Get the (localized) title string for the dialog. This should be implemented in a subclass.
clientmethod dialogApply() [ Language = javascript ]
Invoked when user clicks button 2 which is a dialog 'Apply' button. Overriden in order to close the dialog.
clientmethod getDialogValue() [ Language = javascript ]
This is called when the user presses one of the buttons and after ondialogFinish.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab