public ScriptOptions buildOptions(FacesContext context,
UIComponent component) {
UIScrollableDataTable table = (UIScrollableDataTable) component;
ScriptOptions scriptOptions = new ScriptOptions(component);
if (table.isSelectionEnabled()) {
scriptOptions.addOption("selectionInput", getSelectionInputName(
context, table));
Map<String, Object> attributes = component.getAttributes();
Object attribut = attributes.get("selectedClass");
if (attribut == null) {
attribut = "";