}
}
public void encodeBegin(FacesContext context, UIComponent component)
throws IOException {
UIOrderingBaseComponent orderingComponent = (UIOrderingBaseComponent) component;
ComponentVariables variables = ComponentsVariableResolver.getVariables(this, component);
variables.setVariable(ITEM_STATE_VAR_NAME, orderingComponent.getItemState());
super.encodeBegin(context, component);
}