class %ZEN.Dialog.namespaceSelect
extends standardDialog
This utility dialog window displays and lets the user select from a set of available namespaces.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
No Apply button.
parameter DOMAIN = "%ZEN";
Localization domain
parameter RESOURCE = "%Admin_Operate,%Development,%Service_SQL,%Ens_Portal,%DeepSee_Architect,%DeepSee_Analyzer,%DeepSee_Portal,%DeepSee_Admin";
User must hold at least operator privilege to use this dialog.
!!! this list should be longer
property CurrNamespace
as %String(ZENURL="CURRNS");
Pass in current namespace.
method %GetDescHTML(pSeed As %String)
as %Status
Provide contents of description component.
method %OnAfterCreatePage()
as %Status
This callback is called after the server-side page
object and all of its children are created.
Subclasses can override this to add, remove, or modify
items within the page object model, or to provide values
for controls.
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 ChangeNS(pNS As %String)
as %String
[ ZenMethod ]
Attempt to change namespace. If fails, then some thing unusual is there about this namespace.
method adjustSize()
[ Language = javascript ]
Adjust size and position of components on this page.
method getDialogValue()
[ Language = javascript ]
Return the value that should be returned by this dialog.
method listKeyDown(evt)
[ Language = javascript ]
Key handler for list box.
method ondialogFinish()
as %Boolean
[ Language = javascript ]
User clicked Finish. Attampt change namespace. If fails, display error message and do not leave dialog.
method ondialogStart()
[ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.