Skip to main content

%ZEN.DataModel.objectModelParameters

Class %ZEN.DataModel.objectModelParameters [ Deprecated, System = 3 ]

Internal class.
Property superclass used to define additional property parameters for the %ZEN.DataModel.ObjectDataModel class.

Parameters

ZENSQL

Parameter ZENSQL As STRING;

If defined, this is an SQL statement used to find possible values for this property.
This corresponds to the sql of the %ZEN.Component.dataCombo class.

ZENSQLLOOKUP

Parameter ZENSQLLOOKUP As STRING;

If defined, this is an SQL statement used to find the appropriate display value for a given logical value.
This corresponds to the sqlLookup of the %ZEN.Component.dataCombo class.

ZENDISPLAYCOLUMN

Parameter ZENDISPLAYCOLUMN As STRING;

If defined, this is the name of the column used to provide a display value for SQL statements automatically generated for this property.

ZENLABEL

Parameter ZENLABEL As STRING;

This is the label used for this property within a form.

ZENHINT

Parameter ZENHINT As STRING;

This is the hint message used for this property within a form.

ZENTITLE

Parameter ZENTITLE As STRING;

This is the (optional) popup title string displayed for this property within a form.

ZENCONTROL

Parameter ZENCONTROL As STRING;

Type of control used to display this property within a form; If not defined, a default will be determined based on the type of the property.

ZENGROUP

Parameter ZENGROUP As STRING;

Optional. id of a group component that the control used for this property should be added to. This provides a way to control layout.
If not defined, the control is added directly to the dynaForm.

ZENHIDDEN

Parameter ZENHIDDEN As BOOLEAN = 0;

If true, indicates that this is a hidden field; its value is sent to the client via a hidden field (that is, using a %ZEN.Component.hidden control).

ZENREADONLY

Parameter ZENREADONLY As BOOLEAN = 0;

If true, indicates that this property should be treated as read-only by the client.

ZENSIZE

Parameter ZENSIZE As STRING;

If specified, this will override the default size of the control used to display the property within a form.

ZENTAB

Parameter ZENTAB As INTEGER;

If specified, this will override the default tab order of the control used to display the property within a form. The value of this parameter should be a positive integer.
Controls with ZENTAB specified are placed before controls that do not define it.

ZENATTRS

Parameter ZENATTRS As STRING;

List of additional attributes to apply to the control used for this property.
This should be set to a string of the form:
"attribute:value|attribute:value"

XMLPROJECTION

Parameter XMLPROJECTION As STRING [ Constraint = ",NONE,ANY,ATTRIBUTE,XMLATTRIBUTE,CONTENT,ELEMENT,ELEMENTREF,WRAPPED,COLLECTION", Flags = ENUM ];

Define this so that MVC base classes can disable XML projection for certain properties without requiring subclasses to be XML-enabled.

POPORDER

Parameter POPORDER As INTEGER;

Define this so that MVC base classes can disable Populate for certain properties without requiring subclasses to be populate-enabled.