Not all the controls possess these properties, however they serve the same purpose for several of them.
Appearance
- Height, Width: These properties, to be entered in pixels (e.g. "70px" or "12em"), determine the visible size of the control.
- Position X, Position Y: Position of the control in pixels with respect to the left edge and top of the form. It is simpler to move the selected object with the mouse.
- Alignment: Assign the values of "left," "center," or "right" depending on whether the field contents are to be left aligned, centred, or right aligned in the field.
- Class: CSS class of the control. For example, "labelName" or "groupText" for a block name.
- Style: CSS style of the control (advanced customization). For example background-color: #E6E6E6;.
- Layer: The layer indicates the depth of the control in the form if there are overlapping controls. A layer 1 control is hidden by a layer 2 control. This is useful especially when controls are positioned on a group.
Behavior
- Identifier: The identifier of the control is filled in by the application. It does not need to be changed. It can be used as a reference in another attribute, particularly for the refreshed areas of a button or field.
- value: Content of the label (fixed text, also see Customization of names) or of the field (dynamic value, see Value of controls).
-
Time zones: In Multi-time zone management mode, you can specify the time zone in which the date or date-time field must be expressed.
- By setting it, for example, to: Asia/Hong_Kong (make sure that you comply with the syntax of the time zone name).
- By making it dynamic: either by retrieving that of an entity, or by retrieving that of the user session.
Examples:
- work order time zone: #{formAnimator.bean.WO.temporalContext}
- session time zone: #{loggedUser.temporalContext}
- Expression: Read-only value applied to standard controls intended to give an example for the configuration of your customized controls.
- Balloon help: Information text displayed when the mouse cursor hovers over the control.
- Refreshed zones: List of fields to be updated when the field is changed. This is a list of identifiers separated by commas.
Example: sda_Materia_Supplier,pa_Material_DET_gen_input1,pa_Material_DET_gen_input2.
The field must have been indicated as triggering an Ajax refresh by clicking on the corresponding icon (see Customization mode).
- Suggestion activation: If the field is an Infozone, the behavior of the auto-complete list is a configurable setting; see Infozone.
- Tabulation order: Used to browse the entry fields in the desired order using the "Tab" key on the keyboard. Standard fields are numbered in tens so that customized fields can be inserted between two standard fields.
- Displayed: Used to indicate the condition for which the control is displayed. It must therefore be a Boolean expression; see Values of controls.
For example: #{formAnimator.bean.category !="ENERGY"} indicates that the control will only be displayed if the category is different from "ENERGY".
- Read-only: Used to indicate the condition for which the control is read-only. Same principle as for "Displayed."
- [Script] tab: Select the trigger event (e.g. OnClick, for one click on a button), click on the Edit button, and enter the script to be run in the pop-up; see Scripting.