class %ZEN.Dialog.routineSelect
extends standardDialog
This utility dialog window displays and lets the user select from
a set of routines.
The user must have Use privileges for the %Development resource
in order to use this page.
If Namespace is passed in then switch to that namespace to run the query
This is a Zen Page class.
parameter APPLYBUTTON = 0;
No Apply button.
parameter AUTONS = 0;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = "%ZEN";
Localization domain
parameter RESOURCE = "%Development";
User must hold Development to use this dialog.
property MASK
as %ZEN.Datatype.string(ZENURL="MASK");
User may pass in a partial or full search mask.
property NAMESPACE
as %ZEN.Datatype.string(ZENURL="NAMESPACE");
Which namespace to search. Passed in via URL.
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.
method CreateRS(Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %ResultSet
Create the result set used by the routine listbox.
method ExecuteRS(pRS As %Library.ResultSet, Output tSC As %Status, pInfo As %ZEN.Auxiliary.QueryInfo)
as %Boolean
Execute the routine listbox result set.
method LoadMaskLinks(pSeed As %String)
as %Status
Build short cut Mask links.
method changeMask()
[ Language = javascript ]
User has clicked the Search button.
method getDialogValue()
[ Language = javascript ]
Return the value that should be returned by this dialog.
method loadMask(flag)
[ Language = javascript ]
User has clicked a mask link. Put the selected mask into the Mask field then refresh list control.
method onkeydownHandler(evt)
[ Language = javascript ]
This client event, if present, is fired when a keydown event occurs on the page.