protected void renderColumnGroups(FacesContext context, UIComponent table) throws IOException { UIComponent colGroups = getFacet(table, "colgroups"); if (colGroups != null) { encodeRecursive(context, colGroups); } }
protected void renderColumnGroups(FacesContext context, UIComponent table) throws IOException { UIComponent colGroups = getFacet(table, "colgroups"); if (colGroups != null) { encodeRecursive(context, colGroups); } }
protected void renderColumnGroups(FacesContext context, UIComponent table) throws IOException { UIComponent colGroups = getFacet(table, "colgroups"); if (colGroups != null) { encodeRecursive(context, colGroups); } }
protected void renderColumnGroups(FacesContext context, UIComponent table) throws IOException { UIComponent colGroups = getFacet(table, "colgroups"); if (colGroups != null) { encodeRecursive(context, colGroups); } }
encodeRecursive(context, gkids.next());
protected void renderRow(FacesContext context, UIComponent table, UIComponent child, ResponseWriter writer) throws IOException { // Iterate over the child UIColumn components for each row TableMetaInfo info = getMetaInfo(context, table); info.newRow(); for (UIColumn column : info.columns) { // Render the beginning of this cell writer.startElement("td", column); String columnClass = info.getCurrentColumnClass(); if (columnClass != null) { writer.writeAttribute("class", columnClass, "columnClasses"); } // Render the contents of this cell by iterating over // the kids of our kids for (Iterator<UIComponent> gkids = getChildren(column); gkids.hasNext();) { encodeRecursive(context, gkids.next()); } // Render the ending of this cell writer.endElement("td"); writer.writeText("\n", table, null); } }
encodeRecursive(context, gkids.next());
encodeRecursive(context, gkids.next());
encodeRecursive(context, gkids.next());
if (facet != null) { writer.writeText("", table, null); encodeRecursive(context, facet); writer.writeAttribute("colspan", String.valueOf(info.columns.size()), null); encodeRecursive(context, footer); writer.endElement("td"); renderRowEnd(context, table, writer);
if (facet != null) { writer.writeText("", table, null); encodeRecursive(context, facet); writer.writeAttribute("colspan", String.valueOf(info.columns.size()), null); encodeRecursive(context, footer); writer.endElement("td"); renderRowEnd(context, table, writer);
if (facet != null) { writer.writeText("", table, null); encodeRecursive(context, facet); writer.writeAttribute("colspan", String.valueOf(info.columns.size()), null); encodeRecursive(context, footer); writer.endElement("td"); renderRowEnd(context, table, writer);
encodeRecursive(context, facet); encodeRecursive(context, footer); writer.endElement("td"); renderRowEnd(context, table, writer);
encodeRecursive(context, header); writer.endElement("th"); renderRowEnd(context, table, writer); UIComponent facet = getFacet(column, "header"); if (facet != null) { encodeRecursive(context, facet);
if (facet != null) { writer.writeText("", table, null); encodeRecursive(context, facet); writer.writeAttribute("colspan", String.valueOf(info.columns.size()), null); encodeRecursive(context, footer); writer.endElement("td"); renderRowEnd(context, table, writer);
encodeRecursive(context, header); writer.endElement("th"); renderRowEnd(context, table, writer); UIComponent facet = getFacet(column, "header"); if (facet != null) { encodeRecursive(context, facet);
encodeRecursive(context, header); writer.endElement("th"); renderRowEnd(context, table, writer); UIComponent facet = getFacet(column, "header"); if (facet != null) { encodeRecursive(context, facet);
encodeRecursive(context, header); writer.endElement("th"); renderRowEnd(context, table, writer); UIComponent facet = getFacet(column, "header"); if (facet != null) { encodeRecursive(context, facet);
encodeRecursive(context, header); writer.endElement("th"); renderRowEnd(context, table, writer); UIComponent facet = getFacet(column, "header"); if (facet != null) { encodeRecursive(context, facet);