UIDataTableBase table = state.getRow();
boolean columnFacetPresent = table.isColumnFacetPresent(facetName);
if (columnFacetPresent || "footer".equals(facetName)) {
writer.startElement(HtmlConstants.DIV_ELEM, table);
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, "rf-edt-" + getFacetClassName(facetName), null);
writer.startElement(HtmlConstants.TABLE_ELEMENT, table);
writer.writeAttribute(HtmlConstants.CLASS_ATTRIBUTE, "rf-edt-tbl", null);
writer.startElement(HtmlConstants.TBODY_ELEMENT, table);
writer.startElement(HtmlConstants.TR_ELEMENT, table);
String clientId = table.getClientId(context);
for (state.startIterate(); state.hasNextPart();) {