encodeFacet(context, tt, tt.getFacet("footer"), TreeTable.FOOTER_CLASS);
}
protected void encodeThead(FacesContext context, TreeTable tt) throws IOException {
ResponseWriter writer = context.getResponseWriter();
ColumnGroup group = tt.getColumnGroup("header");
String clientId = tt.getClientId(context);
writer.startElement("thead", null);
writer.writeAttribute("id", clientId + "_head", null);
if(group != null && group.isRendered()) {
for(UIComponent child : group.getChildren()) {
if(child.isRendered() && child instanceof Row) {
Row headerRow = (Row) child;
writer.startElement("tr", null);