if (!multipleRowSelection)
throw new IllegalStateException("<o:selectAllCheckbox> can only be inserted into a DataTable or TreeTable with multiple selection. clientId = " + component.getClientId(context));
} else
selection = null;
SelectAllCheckbox selectAllCheckbox = (SelectAllCheckbox) component;
if (!checkBoxColHeader) {
if (!selection.isEnabled()) {
selectAllCheckbox.setDisabled(true);
}
}
selectAllCheckbox.setSelected(false);
super.encodeBegin(context, component);
}