tab = childTabs.get(selectedIndex);
}
}
// Queue an accordion tab event rather than the specified faces event.
AjaxBehaviorEvent behaviorEvent = (AjaxBehaviorEvent) facesEvent;
Behavior behavior = behaviorEvent.getBehavior();
String eventName = requestParameterMap.get(FacesConstants.JAVAX_FACES_BEHAVIOR_EVENT);
if (TabCollapseEvent.TAB_COLLAPSE.equals(eventName)) {
TabCollapseEvent tabCollapseEvent = new TabCollapseEvent(this, behavior, tab, rowData);
super.queueEvent(tabCollapseEvent);