writer.writeAttribute(HtmlConstants.NAME_ATTRIBUTE, component.getClientId(context) + ":si", null);
writer.writeAttribute(HtmlConstants.TYPE_ATTR, HtmlConstants.INPUT_TYPE_HIDDEN, null);
UIDataTableBase table = (UIDataTableBase) component;
StringBuilder builder = new StringBuilder("|");
Object key = table.getRowKey();
table.captureOrigValue(context);
SequenceRange range = (SequenceRange) table.getComponentState().getRange();
int first = range.getFirstRow();
int last = first + range.getRows() - 1;
Map<String, Object> attributes = component.getAttributes();
table.setRowKey(attributes.get("activeRowKey"));