Home > Class Reference > ENSLIB namespace > %CSP.UI.Portal.Mirror.EditFailover
Private  Storage   


class %CSP.UI.Portal.Mirror.EditFailover extends %CSP.UI.Portal.Template, %CSP.UI.Portal.Mirror.Utils

Zen page for System Management Portal - Edit Failover


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 15 28


This is a Zen Page class. It belongs to the application %CSP.UI.Portal.Application.

%condition %import %includeFiles %page
%resource CanManage CurrentASYNCmpMode CurrentASYNCmpType
CurrentFOCmpMode CurrentFOCmpType CurrentMultiDejournal CurrentUseSSL
DisableRemove DisableSave FirstFailed HelpAddress
ISREADONLY InvalidParam IsEMSReadOnly IsEditForm
IsPrimary JoinMirror LocatorHeader MirrorName
ModifiedAgentAddress ModifiedPrivateAddress NumDNUpdates NumNewMembers
OldAgentAddr OldCIDRMask OldECPAddr OldMemberName
OldPrivateAddr OldVirtualAddress OldVirtualAddressInterface OnclickArray
PID ParentURL SSLDefined SSLLink
ShowVAI StdTitle ValidationErrorMsg aboutPage
align aux backgroundTimerInterval cellAlign
cellSize cellStyle cellVAlign children
composite contactPage containerStyle cssLevel
currSortMode currStep currViewMode disabled
dragAndDrop dragEnabled dropEnabled enableAutoRefresh
enclosingClass enclosingStyle error groupClass
groupStyle height hidden hint
hintClass hintStyle home homePage
id index label labelClass
labelDisabledClass labelPosition labelStyle layout
lblDNUpdates lblNewMembers lblText1 lblText2
lblTitle limitPopups name onafterdrag
onbeforedrag onclick ondrag ondrop
onhide onrefresh onshow onupdate
pageModified parent searchKey showLabel
slice title tuple useSVG
useSoftModals valign visible width
window zenPersistentPopup

%AddChild %AddChildAfter %AddChildBefore %AddComponent
%AddImportedComponents %AddLocatorLinks %AddToSaveSet %ApplyURLParms
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML %DrawHTML
%DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions %EnclosingDivId
%EndBackgroundMethod %EndScript %Eval %EvalC
%Extends %ForceClientRender %GetChildIndex %GetComponent
%GetComponentById %GetComponentByName %GetEventHandlers %GetHomePage
%GetHomeParam %GetLinks %GetLocatorLinks %GetPageName
%GetParameter %GetProductName %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 %OnGetPageName
%OnGetProductName %OnGetSmallMenu %OnGetTitle %OnMonitorBackgroundTask
%OnMutateChildren %OnObjectSynch %OnPreHTTP %OnSubmit
%OnUseSoftModals %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %Register %RemoveChild
%RemoveChildren %RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod
%Self %SerializeObject %SetBackgroundMethodStatus %SetErrorById
%SetErrorByName %SetModified %SetValueById %SetValueByName
%SetValuesByName %StartScript %ValidateObject %ZENVersion
AnyDNUpdates AnyPendingNewMembers AuthorizeDNUpdates AuthorizeNewMembers
BuildMenu CheckAllBlanks CheckContextLinks CheckEnterpriseManager
CompressMode CompressType ConvertParameter Decrypt
DeleteLocalConfig DisplayError DoLogout DrawLocator
DrawMemberType DrawNetworkInterface DrawRibbon DrawTitle
Encrypt EscapeHTML EscapeURL EvalResult
FixBaseDirectory GetCSPURL GetContextLinks GetDefaultAgentAddress
GetDocURL GetHomePage GetJoinInfo GetMirrorFailureInfo
GetNewURL GetQuickLinks GetSSLLink GetValidationInfo
HyperEventCall HyperEventHead Include InitialSSLverification
InsertHiddenField InsertHiddenFields IsPrivate Link
MultiDejournal OnDrawRibbon OnGetRibbonInfo OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RegisterRecent RejectDNUpdates RejectNewMembers RewriteURL
SSLverification SaveData SaveMirrorConfig ShowError
StartTimer StopTimer ThrowError UnescapeHTML
UnescapeURL ValidateAddress ValidateArbiterAddress ValidateMemberName
ValidateMirror XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType addChild addChildAfter addChildBefore
afterSave afterValidate cancelPopup changeArbiter
changePassword childrenMutated cleanInput correctIELayering
createComponent createComponentNS deleteComponent disableCommandButton
doAuthorizeDNUpdates doAuthorizeNewMembers doCancel doChangeBaseDir
doEdit doJoinNewMember doModified doRejectDNUpdates
doRejectNewMembers doRemove doRemoveLocalConfig doRemoveOther
doSave doUpdateNode dragFinishHandler dragHandler
dragNotifyHandler dragStartHandler dropHandler dropStartHandler
enableCommandButton endModal exposeComponent findElement
fireOnResizeEvent fireOnUnloadEvent fireOnUpdateEvent firePopupAction
getChildIndex getComponent getComponentById getEnclosingDiv
getFailureMessages getHidden getHintElement getLabelElement
getOpener getPageTitle getProperty getSettings
getTitleAreaHeight getType goHome goMenu
gotoNamespace gotoPage hideCommandButton invokeSuper
isButtonDisabled isOfType launchPopupWindow logout
makeId modifiedAddress modifiedAgentAddress modifiedECPAddress
modifiedMemberName navigate onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onServerMethodCall onServerMethodError onServerMethodReturn
onStartModalHandler ondisabledHandler onkeydownHandler onkeyupHandler
onlayoutHandler onloadHandler onlogoutHandler onoverlayHandler
onresizeHandler onunloadHandler onupdateHandler openAdd
openSSL popupActionHandler refreshContents removeChild
render renderContents renderSVG resetMsg
rowSelectDNUpdates rowSelectNewMembers searchBlur searchBoxHandler
searchFocus searchKeyDown searchKeyPress selectVIP
setComponentId setConnectivityStatusMsg setHidden setModified
setOverlayMode setPageTitle setProperty setPropertyAll
setSortMode setSortModeHandler setTraceOption setViewMode
setViewModeHandler showAbout showCommandButton showContact
showDocumentation showHelp showMsg startModal
startProgressBar stopProgressBar switchNamespace toggle
toggleSSL trimSpace updateAddress validate
validateRequired verifySSL


• parameter AUTONS = 0;
Do not switch namespace for this page: it needs to stay in %SYS
• parameter CSPURL = "/csp/sys/mgr/%CSP.UI.Portal.Mirror.EditFailover.zen";
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
• parameter HELPADDRESS = "Home,Configuration,Edit Mirror";
Each SMP page should set this link which points to the documentation anchor name.
• parameter PAGENAME = "Edit Mirror";
Displayed name of this page.
• parameter RESOURCE = "%Admin_Manage";
Security requirement


• property CanManage as %ZEN.Datatype.boolean [ InitialExpression = $System.Security.Check("%Admin_Manage","USE") ];
Check if user has manage privilege
• property CurrentUseSSL as %Integer;
• property IsEditForm as %Boolean [ InitialExpression = 1 ];
If set to 1 then the generic Save and Cancel button will be shown on the ribbon bar.
• property IsPrimary as %Boolean [ InitialExpression = $SYSTEM.Mirror.GetInfo()[$$$Primary ];
• property JoinMirror as %Boolean [ InitialExpression = 1 ];
• property MirrorName as %ZEN.Datatype.string;
• property NumDNUpdates as %Integer [ InitialExpression = 0 ];
Number of DNUpdates members currently selected
• property NumNewMembers as %Integer [ InitialExpression = 0 ];
Number of NewMembers members currently selected
• property OldCIDRMask as %ZEN.Datatype.string;
• property OldVirtualAddress as %ZEN.Datatype.string;
• property OldVirtualAddressInterface as %ZEN.Datatype.string;
• property lblDNUpdates as %String;
• property lblNewMembers as %String;
• property lblText1 as %String;
• property lblText2 as %String;


• method %OnAfterCreatePage() as %Status
Set Locator bar and determine whether to show change password option.
• method %OnGetPageName() as %String
Get the (localized) name of the page. This should be implemented in a subclass.
• classmethod AnyPendingNewMembers(MirrorName As %String) as %Integer [ ZenMethod ]
• classmethod AuthorizeDNUpdates(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
• classmethod AuthorizeNewMembers(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
• classmethod DrawMemberType(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) as %Status
• method GetValidationInfo(ByRef pParms, Output pObject As %RegisteredObject) as %Status
Return server info per validation checks for failure.
• method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Get information to display in the ribbon bar.
• classmethod RejectDNUpdates(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
• classmethod RejectNewMembers(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
• classmethod SaveData(pProxy As %ZEN.proxyObject) as %ZEN.proxyObject [ ZenMethod ]
Save general association data to server.
Returns proxy.ok = 1 (save successful) or 0 (error occurred)
proxy.ErrorMessage (save failed and display this error message). If proxy.ok is 1 and no messages returned then we return to SMP home.
• classmethod SaveMirrorConfig(pProxy As %ZEN.proxyObject) as %Status
Save Config.Mirrors
• method doAuthorizeDNUpdates() as %Boolean [ Language = javascript ]
• method doAuthorizeNewMembers() as %Boolean [ Language = javascript ]
• method doEdit(nodeName) [ Language = javascript ]
• method doRejectDNUpdates() as %Boolean [ Language = javascript ]
• method doRejectNewMembers() as %Boolean [ Language = javascript ]
• method doRemove() [ Language = javascript ]
• method doRemoveOther() [ Language = javascript ]
• method doSave() [ Language = javascript ]
• method getPageTitle() as %String [ Language = javascript ]
Get the title string to add to the locator row.
• method onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
• method onloadHandler() [ Language = javascript ]
Disable save button for EMS-managed pages. Be sure to use this.invokeSuper('onloadHandler',arguments); when overriding.
• method openAdd() [ Language = javascript ]
• method rowSelectDNUpdates(selectedRows) [ Language = javascript ]
enable the Authorize and Reject buttons if there are members selected. disable otherwise.
• method rowSelectNewMembers(selectedRows) [ Language = javascript ]
enable the Authorize and Reject buttons if there are members selected. disable otherwise.
• method validate(proxy) [ Language = javascript ]
• method verifySSL() [ Language = javascript ]