Development tools : XUI editor : XUI widgets and containers : Containers Description : ConditionalPanel
  
ConditionalPanel
The ConditionalPane container is used to display different content determined by the value of data field in server context that is bound to it.
See
Properties of the ConditionalPanel container
OptionPanels
Properties for the OptionPanels widget
See also
Containers Description
Properties of the ConditionalPanel container
 
Property
Property description
id
The id is the identifier for the container.
dataName
The dataName property is used to bind the condition value from server context. Currently, only String type is supported for the value. This property is mandatory.
Note The ConditionalPanel widget cannot be used as a div flow container or a div container.
See
ECA tool support
See also
ConditionalPanel
ECA tool support
Properties that can be configured for a widget by using the ECA tool
 
Property
Property description
id
This property can be used in the Condition part of ECA rule.
See also
Properties of the ConditionalPanel container
OptionPanels
ConditionalPanel can add several OptionPanels, one option panel represents for one value of the condition, this value is set to its "optionValue" property. Currently, only String type is supported for the value.
See also
ConditionalPanel
Properties for the OptionPanels widget
 
Property
Description
id
The identifier for the widget.
optionValue
The selected property is a boolean property that specifies whether the ContentPane widget is in a selected state. This is an optional property. Any widgets can be put in the option panel. When the value of "optionValue" equals to the condition value in runtime getting from the "dataName" of its parent conditional panel, then this option panel will be rendered. If 2 option panels have the same "Option Value", they will be rendered both when this "optionValue" is hit.
See
ECA tool support
See also
ConditionalPanel
ECA tool support
Properties that can be configured for a widget by using the ECA tool
 
Property
Property description
Appearance
The "Appearance" related properties of Option Panel are determined by its parent Conditional Panel, they cannot be set for Option Panel independently.
See also
Properties for the OptionPanels widget