ChildData childData = getChildData(fileAttachments);
writer.startElement("table", fileAttachments);
writer.writeAttribute("id", clientId + ATTACHMENTS_LIST_ID, null);
TableStructure tableStructure = childData.getTableStructure();
TableHeader tableHeader = tableStructure.getHeader();
if (tableHeader.isContentSpecified()) {
tableHeader.render(context, null);
}
writer.startElement("tbody", fileAttachments);
renderRows(context, fileAttachments, childData, fileAttachments.getValue());
writer.endElement("tbody");