-
Notifications
You must be signed in to change notification settings - Fork 10
Controls in Nexus Bridge
Oleg edited this page Nov 28, 2019
·
28 revisions
From the perspective of the Nexus Bridge, form and list applets expose the controls. In the case of the list applet, the list columns are a subset of the controls.
There are two main types of the attributes:
- Static Attributes. The value of the attribute could be retrieved once and is not expected to be changed.
- Dynamic Attributes. The value could be changed. Currently there are only two dynamic properties:
readonly
andcurrencyCode
.
Some prominent attributes of the control:
-
name
- control/list column name in the Tools. -
label
- the caption as specified in the Tools. -
required
- read here. -
staticPick
- true when the control has an associated static picklist, it means the available values are never changed. Use theoptions
attribute to find the available values. -
isPostChanges
- true when the update of the control causes the sending update to the server (in most cases true when the underlying field has the Immediate Post Changes attribute). When the control that has the value of this property is true is updated, the Presentation Model could be changed, and the external application should consume it again. -
fieldName
. -
maxSize
. ThemaxSize
is useful for the text fields to know how many characters the user can enter for this field. -
displayFormat
. Checks theDisplay Format
property of the control/list column is specified in the Siebel Tools; and when this property is not specified and the control is displaying date or datetime value, the locale format is taken. E.g. if the value in the Siebel Tools isDate TimeNoSec
, thedisplayFormat
could beDD/MM/YYYY HH:mm
(depending on the used locale). -
isLOV
. The value is true when control exposes dynamic or static picklist, and thegetLOV(controlName)
method could be called for that control. -
dataType
. Returns the data type of the underlying business component field. -
currencyCodeField
. Returns the currency code field name (as in the Siebel Tools). -
uiType/popupType
. -
props
. The control's PM properties configured in the Siebel Tools. iconMap
options
-
readonly
. Respect the value of this property, and don't try to update the value ofreadonly
control; it will not work. -
currencyCode
. Returns the 3-letters currency code for the current record (e.g. USD, EUR). Actually the value of thecurrencyCodeField
.