abstract class %ZEN.Component.listControl
extends control
Base class for controls that display a list of values.
property displayList
as %ZEN.Datatype.csv(ZENLOCALIZE=1);
(optional) Defines set of displayed choices for this select control as a csv-list.
The entire list is a localized value.
If your data include commas, escape them with "\,".
property maxRows
as %ZEN.Datatype.integer [ InitialExpression = 500 ];
If a query is used to provide data, this is the maximum number of
items that will be displayed.
property parameters
as list of %ZEN.Auxiliary.parameter(XMLNAME="parameter",XMLPROJECTION="ELEMENT");
User-defined list of query parameters.
If this control uses a query, these values are used to provide values for any run-time query parameters.
property queryClass
as %ZEN.Datatype.className;
(optional) Name of the class containing the query that will
provide contents of this table.
property queryName
as %ZEN.Datatype.classMember(MEMBERTYPE="QUERY");
(optional) Name of the class containing the query that will
provide contents of this table.
property sql
as %ZEN.Datatype.sql;
(optional) SQL statement that, if present, provides the
contents of the table.
queryClass and queryName.
(optional) SQL SELECT statement that, if present, provides values for the select
list. The first column of the results provides the value, and the
second column, if present, provides the display value.
If defined, this takes precedence over
queryClass and queryName.
property valueList
as %ZEN.Datatype.csv;
Defines set of values for choices for this select control as a csv-list.
If your data include commas, escape them with "\,".
method %BuildValueLists(Output pValueList As %List, Output pDisplayList As %List)
as %Status
Called at draw-time to get the ($List) of values and display values.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.