Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsPortal] >  [Dialog] >  [Choice]
Private  Storage   

This class is for internal use of the Management Portal.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 10 5


Summary

This is a Zen Page class. It belongs to the application EnsPortal.Application.

Properties
%condition %import %includeFiles %page
%resource ActionButtons Button1Caption Button1Title
Button2Caption Button2Title Button3Caption Button3Title
CancelButton FirstFailed Icon InvalidParam
IsEMSReadOnly Message ValidationErrorMsg align
aux backgroundTimerInterval canEdit cellAlign
cellSize cellStyle cellVAlign children
closeOnEnter closeOnEsc composite containerStyle
cssLevel dialogTitle disabled disabledStyle
dragAndDrop dragEnabled dropEnabled enclosingClass
enclosingStyle error groupClass groupStyle
hasButtons height hidden hideApplyButton
hideCancelButton hideOKButton hint hintClass
hintStyle id index keepAliveInterval
label labelClass labelDisabledClass labelPosition
labelStyle layout msgNotPermitted name
onafterdrag onbeforedrag onclick ondrag
ondrop onhide onrefresh onshow
onupdate parent showLabel slice
studioMode title tuple useSVG
useSoftModals valign visible width
window zenPersistentPopup

Methods
%AddCSPShareHyperevents %AddChild %AddChildAfter %AddChildBefore
%AddComponent %AddEnsExceptionHandler %AddImportedComponents %AddToSaveSet
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawHTML %DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions
%DrawTitle %EnclosingDivId %EndBackgroundMethod %EndScript
%Eval %EvalC %Extends %ForceClientRender
%GetChildIndex %GetComponent %GetComponentById %GetComponentByName
%GetEventHandlers %GetLinks %GetPageName %GetParameter
%GetValueById %GetValueByName %GetXMLName %IsA
%IsModified %Link %LinkCSS %LinkScript
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnAfterCreatePage %OnBeforeCreatePage
%OnCreateApplication %OnCreatePage %OnDetermineCSSLevel %OnDrawEnclosingDiv
%OnDrawHTMLBody %OnDrawHTMLHead %OnDrawHTMLMeta %OnDrawObjectProperties
%OnFinishBackgroundTask %OnGetSubtitle %OnGetTitle %OnMonitorBackgroundTask
%OnMutateChildren %OnObjectSynch %OnPreHTTP %OnSubmit
%OnUseSoftModals %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %ValidateObject %ZENVersion ConvertParameter
Decrypt Encrypt EscapeHTML EscapeURL
EvalResult GetHyperEventResources HyperEventCall HyperEventHead
Include InsertHiddenField InsertHiddenFields IsPrivate
JavaInstalled Link OnHTTPHeader OnPage
OnPageError OnPostHTTP OnPostHyperEvent OnPreHTTP
OnPreHyperEvent Page QuoteJS RewriteURL
ShowError SimpleKeepAlive StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore addPopupSuffix adjustSize
btnApply btnOK cancelPopup checkEdit
childrenMutated clientKeepAlive correctIELayering createComponent
createComponentNS ctrlKeyDown deleteComponent dialogApply
dialogCancel dialogFinish dialogTitleGet disableButtons
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler endModal exposeComponent
findElement fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent
firePopupAction getChildIndex getComponent getComponentById
getDialogValue getEnclosingDiv getHidden getHintElement
getLabelElement getOpener getProperty getSettings
getType gotoPage inResizeLoop initPopupSuffix
invokeSuper isOfType launchPopupWindow makeId
onCreate onDelete onDisplayHandler onEndModalHandler
onPopupAction onRefreshContents onSerialize onServerMethodCall
onServerMethodError onServerMethodReturn onStartModalHandler ondialogCancel
ondialogFinish ondialogStart ondisabledHandler onhandleAutoLogoutWarn
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onunloadHandler
onupdateHandler popupActionHandler refreshContents removeChild
removePopupSuffix render renderContents renderSVG
resetMsg setComponentId setHidden setOverlayMode
setProperty setPropertyAll setTraceOption showMsg
startKeepAlive startModal startProgressBar stopKeepAlive
stopProgressBar validateRequired


Parameters

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

Properties

• property ActionButtons as %ZEN.Datatype.integer(ZENURL="ACTIONBUTTONS") [ InitialExpression = 2 ];
• property Button1Caption as %ZEN.Datatype.string(ZENURL="CAPTION1") [ InitialExpression = $$$TextJS("Disable") ];
• property Button1Title as %ZEN.Datatype.string(ZENURL="TITLE1") [ InitialExpression = $$$TextJS("Confirm and close") ];
• property Button2Caption as %ZEN.Datatype.string(ZENURL="CAPTION2") [ InitialExpression = $$$TextJS("Restart") ];
• property Button2Title as %ZEN.Datatype.string(ZENURL="TITLE2") [ InitialExpression = $$$TextJS("Disable and close") ];
• property Button3Caption as %ZEN.Datatype.string(ZENURL="CAPTION3") [ InitialExpression = $$$TextJS("Cancel") ];
• property Button3Title as %ZEN.Datatype.string(ZENURL="TITLE3") [ InitialExpression = $$$TextJS("Cancel and close") ];
• property CancelButton as %ZEN.Datatype.integer(ZENURL="CANCELBUTTON") [ InitialExpression = 1 ];
• property Icon as %ZEN.Datatype.string(ZENURL="ICON") [ InitialExpression = "portal/warning_64.png" ];
• property Message as %ZEN.Datatype.string(ZENURL="MESSAGE") [ InitialExpression = $$$Text("Confirmation") ];

Methods

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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.