H3C Technologies H3C Intelligent Management Center User Manual
Page 509

495
by the refAction, if replaceable variables (with the format ${ DEVICE_ID } that starts with ${ and
ends with -}) are found in the registration file, the system automatically replaces it with the
parameter related to IMC system, device, or interface. For example, the system replaces
${DEVICE_ID} with the device ID. For more information about replaceable variables supported by
the common configuration framework, see later sections.
•
The system executes the refAction action.
•
Parse the execution result of the action.
When parsing the execution result of the action, the common configuration framework takes the
destValueProperty value as the value property value of SelectItem, the destDisplayProperty value
as the display property value of SelectItem.
If you have selected multiple devices or ports, the system executes the refAction action on all
selected devices or ports to generate multiple result values. The policy to process these result values
is defined by the type property. Type 1 means to take the intersection of multiple result values; type
2 means to take the union of multiple result values. See
.
•
Initialize the control based on the result.
Table 19 Properties supported by Init
Property
name
Description Required Remarks
refAction
Action for
initialization
Y
The action must have been defined in the operation.
destValueProp
erty
Name of the
SelectItem Value
property
Y
For RestAction, the system gets an XML file. This property
specifies the XML property of "value". If the XML file
consists of multiple elements, and each element has the
property defined by destValueProperty, the property of
the first element is taken.
For Asn1Action, the system receives an ASN1 response
message. This property specifies the property name of
the SelectItem "value."
destDisplayPr
operty
Name of the
SelectItem
displayValue
property
Y
For RestAction, the system gets an XML file. This property
specifies the XML property of "displayValue." If the XML
file consists of multiple elements, and each element has
the property defined by destDisplayProperty, the
property of the first element is taken.
For Asn1Action, the system receives an ASN1 response
message. This property specifies the property name of
"displayValue."
Type
Processing
method
N
Enumerated value: 1 (takes intersection of result sets) or 2
(takes union of result sets). The default is 1.
Example 1: drop-down list dynamic initialization
destDisplayProperty="XXXXName" type="1"/> Example 2: combo box dynamic initialization