deprecatedclass %iKnow.UI.Dialog.addDomain
extends %CSP.UI.Portal.Dialog.WizardTemplate
This dialog lets the user Add a new iKnow domain or configuration definition.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
parameter AUTONS = 1;
If $NAMESPACE is set, auto switch namespace
parameter DOMAIN = "%iKnow";
Localization domain
parameter HELPID;
DOCBOOK Topic Id that offers help for this page.
parameter RESOURCE = "%Development";
Security requirement
property mode
as %ZEN.Datatype.string(ZENURL="MODE") [ InitialExpression = "domain" ];
property msgDomain
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Domain name.") ];
use this to indicate adding a domain or configuration
property msgDomainDef
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a Domain Definition name.") ];
use this to indicate adding a domain or configuration
method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
classmethod SaveDomain(pDomainDefName, pDomainName, pDisabled, pAllowCustomUpdate)
as %String
[ ZenMethod ]
method ValidateDomainDefName(pName As %String = "")
as %Status
[ ZenMethod ]
method ValidateDomainName(pName As %String = "")
as %String
[ ZenMethod ]
method changeType()
[ Language = javascript ]
Show definition based on type
method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
method onChangeDomainName(name)
[ Language = javascript ]
method ondialogFinish(action)
as %Boolean
[ Language = javascript ]
This callback, if defined, is called when the user presses the OK or Apply action buttons.
If this returns false, then the action is cancelled.
method onloadHandler()
[ Language = javascript ]
Save a configuration.
This client event, if present, is fired when the page is loaded.