Control initialization – H3C Technologies H3C Intelligent Management Center User Manual
Page 508

494
Control initialization
The drop-down list (SelectOneMenu) and combo box (CompositeInputText) support initialization.
Initialization includes static initialization, dynamic initialization, and mixed initialization. Static
initialization uses static values for initialization, and uses the SelectItem element; dynamic initialization
dynamically obtains data from the device for initialization, and uses the Init element; mixed initialization
allows for both static and dynamic initialization, and takes the result from the union of the static and
dynamic initialization results. See
.
•
SelectItem
The service component can use SelectItem to perform static initialization for the drop-down list
(SelectOneMenu) and combo box (CompositeInputText) controls.
Table 18 Properties supported by SelectItem
Property
name
Description Required
Remarks
Value
Item value
Y
The parameter takes the property value.
displayValue
Item display
value
N
This property is used for display. If it is not available, the
value property is displayed.
Example 1: drop-down list static initialization
Example 2: combo box static initialization
NOTE:
If the displayValue property and value property of the SelectItem of the combo box control are consistent,
the value property is used.
•
Init
The Init element can dynamically get data from the device to perform initialization for the
drop-down list (SelectOneMenu) and combo box (CompositeInputText) controls. The following is
the working process:
•
Enter parameters required by the refAction.
The control initialization action is executed after the dynamic page is generated. You do not need
to enter parameters for such actions, so control initialization action parameters can only be
dynamic information, such as the selected port or device.
The common configuration framework provides a group of replaceable variables related to the
IMC system, device, and interface for the components. When you enter the parameters required