protected void changeTabIndex(UIComponent component, int selectedIndex) {
MultiPageContainer container = (MultiPageContainer) component;
int oldSelectedIndex = container.getSelectedIndex();
container.setSelectedIndex(selectedIndex);
if (oldSelectedIndex != selectedIndex) {
container.queueEvent(new SelectionChangeEvent(container, oldSelectedIndex, selectedIndex));
}
}
protected void encodePane(
FacesContext context,