class %ZEN.Dialog.searchDialog
extends standardDialog
This utility dialog window displays a search page.
The results of an SQL query are displayed and the user can make a selection.
This is a Zen Page class.
parameter APPLYBUTTON = 0;
No Apply button.
parameter AUTONS = 1;
If true, auto-switch namespace to whatever $NAMESPACE is passed in.
parameter DOMAIN = "%ZEN";
Localization domain
property paramCount
as %ZEN.Datatype.integer(ZENSETTING=0);
Number of parameters in the current query.
property paramNames
as %ZEN.Datatype.csv(ZENURL="paramNames");
List names to display for parameters in the search form.
property query
as %ZEN.Datatype.sql;
SQL statement used to populate the search form.
This cannot be passed in via URL; instead applications should subclass this
component and provide the search query using server-side logic.
method %GetDescHTML(pSeed As %String)
as %Status
Provide contents of description component.
method %OnAfterCreatePage()
as %Status
Set up the table pane.
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 execSearch()
[ Language = javascript ]
User has pressed the search button.
method getDialogValue()
[ Language = javascript ]
Return the value that should be returned by this dialog.