Development tools : XUI editor : XUI widgets and containers : Containers Description : Repetitive Panel : ECA tool support
  
ECA tool support
Functions that can be configured for the Repetitive Panel by using the ECA editor
 
Property
Property description
setVisibility(idx, vis)
Modify the visibility of a sub-panel.
This function can be used in the Action part of ECA rules.
Parameters
idx
The index of the sub-panel to change visibility, starting from 0
vis
The new visibility value
Returns
nothing
setStyleClass(idx, cls)
Modify the style class of a sub-panel.
This function can be used in the Action part of ECA rules.
Parameters
idx
The index of the sub-panel to set the style class, starting from 0
cls
Class to set, replacing previous value
Returns
nothing
toggleStyleClass(idx, cls, add)
Add or remove the specified style class of a sub-panel.
This function can be used in the Action part of ECA rules.
Parameters
idx
Integer type, the index of the sub-panel to add or remove the specified style class, starting from 0
cls
String type, class to add or remove, separating with spaces if multiple classes need to be added or removed
add
Optional parameter, boolean type
true
Add the specified class
false
Remove the specified class
null
Toggle the presence of the specified class
Returns
nothing
getVisibility(idx)
Returns the visibility of a sub-panel.
Parameters
idx
The index of the sub-panel to query, starting from 0
Returns
The current visibility value for the given sub-panel. Default is “visible”.
hasStyleClass(idx, cls)
Check if a given class is set on a given sub-panel.
This function can be used in the Action and Condition part of ECA rules.
Parameters
idx: the index of the sub-panel to query, starting from 0
cls: class to check
Returns
true if the panel has the class cls set, false otherwise
 
getCurrentPanelIndex()
Get the iteration index of the current panel.
This function can be used in the Action and Condition part of ECA rules.
Parameters
nothing
Returns
The index of the current panel.
Go up to
Repetitive Panel