Skip to content

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.

Main Attributes of 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 and currencyCode.

Static Attributes

Some prominent attributes of the control:

  • currencyCodeField. Returns the currency code field name (as in the Siebel Tools).

  • dataType. Returns the data type of the underlying business component field.

  • displayFormat. Checks the Display Format property of the control/list column is in the Tools; if the property is not specified and the control is displaying date or datetime value, the locale format is returned. E.g. if the value in the Tools is Date TimeNoSec, the displayFormat could be DD/MM/YYYY HH:mm (depending on the used locale).

  • fieldName.

  • iconMap.

  • isLOV. True when the control displays dynamic or static picklist, it means the getLOV method could be called for that control.

  • 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.

  • label. The caption as specified in the Tools.

  • maxSize. The maxSize is useful for the text fields to know how many characters the user can enter for this field.

  • name. control/list column name in the Tools.

  • options.

  • props. The control's PM properties configured in the Siebel Tools.

  • required. Read here.

  • staticPick. True when the control has an associated static picklist, it means the available values are never changed. Use the options attribute to find the available values.

  • uiType/popupType.

Dynamic Attributes

  • currencyCode. 3-letters currency code (e.g. USD, EUR).

  • readonly. Check the value of this property, and don't try to update the value of readonly control; it will be checked inside the NexusBridge.