// XXX is this needed?
if (!isSwitchTypeClient()) {
final ActionListener defaultActionListener = getFacesContext().getApplication().getActionListener();
if (defaultActionListener != null) {
defaultActionListener.processAction(event);
}
}
final Integer index = event.getNewTabIndex();
final ValueExpression expression = getValueExpression(Attributes.SELECTED_INDEX);
if (expression != null) {