Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsPortal.Dialog.Choice
Private  Storage   

EnsPortal.Dialog.Choice


This class is for internal use of the Ensemble 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
%ComponentClasses %ComponentNames %Components %CompositeList
%DeletedIds %NotifyList %RenderList %UserPackageList
%condition %import %includeFiles %page
%partial %resource %xmlOutputMode ActionButtons
Button1Caption Button1Title Button2Caption Button2Title
Button3Caption Button3Title CancelButton Icon
Message SVGClassList UserSVGPackageList align
aux backgroundTimerInterval canEdit cellAlign
cellSize cellStyle cellVAlign children
closeOnEnter closeOnEsc composite containerStyle
cssLevel designMode dialogTitle disabled
disabledStyle dragAndDrop dragEnabled dropEnabled
dynamic enclosingClass enclosingStyle error
groupClass groupStyle hasButtons height
hidden hideApplyButton hideCancelButton hideOKButton
hint hintClass hintStyle id
index inlineSVG isPopup isSoftModal
keepAliveInterval label labelClass labelDisabledClass
labelPosition labelStyle lastModalIndex layout
msgNotPermitted name nextIndex onafterdrag
onbeforedrag onclick ondrag ondrop
onhide onoverlay onrefresh onshow
onupdate overlayMode parent popupParent
renderFlag showLabel slice studioMode
title tuple useSVG useSoftModals
valign visible width window
zenPersistentPopup

Methods
%%OIDGet %AddCSPShareHyperevents %AddChild %AddChildAfter
%AddChildBefore %AddComponent %AddEnsExceptionHandler %AddImportedComponents
%AddToSaveSet %ApplyURLParms %Attr %BindExport
%BuildObjectGraph %ClassIsLatestVersion %ClassName %Close
%ConstructClone %CreateApplication %CreatePage %DetermineCSSLevel
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %DrawAutoLogout
%DrawClassDefinition %DrawClassDefinitions %DrawComponentHTML %DrawHTML
%DrawHTMLPage %DrawJSGetSettings %DrawJSSerialize %DrawJSStrings
%DrawObjectDefinitions %DrawObjectProperties %DrawSVGDef %DrawStyleDefinitions
%DrawStyleHTML %DrawStyleSVG %DrawTitle %EnclosingDivId
%EndBackgroundMethod %EndScript %Eval %EvalC
%Extends %ForceClientRender %GenerateCode %GetChildIndex
%GetClassCRC %GetClassDepth %GetComponent %GetComponentById
%GetComponentByName %GetComponentPropertyById %GetDependentComponents %GetEventHandlers
%GetIncludeFiles %GetIncludeInfo %GetLinks %GetPageName
%GetPaneContents %GetParameter %GetSuperClassList %GetValueById
%GetValueByName %GetXMLName %IncrementCount %IsA
%IsEmbedded %IsModified %Link %LinkCSS
%LinkScript %MakeId %New %NormalizeObject
%ObjectModified %ObjectSynch %OnAddToPage %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 %ReallyAddChild %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetErrorById %SetErrorByName
%SetModified %SetValueById %SetValueByName %SetValuesByName
%StartScript %ValidateObject %XMLGenerate %ZENDeserialize
%ZENVersion ConvertParameter Decrypt Encrypt
EscapeHTML EscapeURL GetHyperEventResources HyperEventBody
HyperEventCall HyperEventFrame HyperEventHead Include
InsertHiddenField InsertHiddenFields InvokeClassMethod InvokeInstanceMethod
IsPrivate Link LoadZenComponent MonitorBackgroundTask
OnHTTPHeader OnPage OnPageError OnPostHTTP
OnPostHyperEvent OnPreHTTP OnPreHyperEvent Page
QuoteJS ReallyRefreshContents RewriteURL ShowError
SimpleKeepAlive StartTimer StopTimer ThrowError
UnescapeHTML UnescapeURL XMLAfterExport XMLBeforeExport
XMLDTD XMLExport XMLExportInternal XMLExportToStream
XMLExportToString XMLGetSchemaImports XMLImport XMLImportInternal
XMLIsObjectEmpty XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType addChild addChildAfter addChildBefore
addPopupSuffix adjustSize backgroundTimerHandler btnApply
btnOK cancelPopup checkEdit childrenMutated
clearBackgroundTask clientKeepAlive correctIELayering createComponent
createComponentNS ctrlKeyDown deleteComponent dialogApply
dialogCancel dialogFinish dialogTitleGet disableButtons
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler endModal exposeComponent
findElement fireOnLoadEvent fireOnResizeEvent fireOnUnloadEvent
fireOnUpdateEvent firePopupAction getChildIndex getComponent
getComponentById getDialogValue getEnclosingDiv getHidden
getHintElement getLabelElement getOpener getProperty
getSettings getTargetPage getType gotoPage
inResizeLoop initPopupSuffix invokeSuper isOfType
launchPopupWindow makeId onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onServerMethodCall onServerMethodError onServerMethodReturn
onStartModalHandler ondialogCancel ondialogFinish ondialogStart
ondisabledHandler onkeydownHandler onkeyupHandler onlayoutHandler
onloadHandler onlogoutHandler onoverlayHandler onresizeHandler
onunloadHandler onupdateHandler popupActionHandler progressBarHandler
refreshContents removeChild removePopupSuffix render
renderContents renderSVG setBackgroundTask setComponentId
setHidden setOverlayMode setProperty setPropertyAll
setTraceOption startKeepAlive startModal startProgressBar
stopKeepAlive stopProgressBar updateControlsInGroup


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.
Override for DeepSee dialogs.
• 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.