Class HtmlTableRendererBase
- java.lang.Object
- 
- jakarta.faces.render.Renderer
- 
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
- 
- org.apache.myfaces.renderkit.html.base.HtmlTableRendererBase
 
 
 
- 
- Direct Known Subclasses:
- HtmlTableRenderer
 
 public class HtmlTableRendererBase extends HtmlRenderer Common methods for renderers for components that subclass the standard Faces HtmlDataTable component.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classHtmlTableRendererBase.StylesClass manages the styles from String lists.
 - 
Field SummaryFields Modifier and Type Field Description protected static StringCAPTION_FACET_NAMEprotected static StringFOOTER_FACET_NAMEprotected static StringHEADER_FACET_NAME- 
Fields inherited from class jakarta.faces.render.RendererPASSTHROUGH_RENDERER_LOCALNAME_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description HtmlTableRendererBase()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterBody(FacesContext facesContext, UIData uiData)Perform any operations necessary immediately after the TBODY end tag is output.protected voidafterColumn(FacesContext facesContext, UIData uiData, int columnIndex)Perform any operations necessary immediately after each column child is renderedprotected voidafterColumnHeaderOrFooter(FacesContext facesContext, UIData uiData, boolean header, int columnIndex)Perform any operations necessary immediately after each column child's header of footer is renderedprotected voidafterRow(FacesContext facesContext, UIData uiData)Perform any operations necessary immediately after each TR end tag is output.protected voidafterTable(FacesContext facesContext, UIData uiData)Perform any operations necessary immediately after the TABLE end tag is output.protected voidbeforeBody(FacesContext facesContext, UIData uiData)Perform any operations necessary after TABLE start tag is output but before the TBODY start tag.protected voidbeforeColumn(FacesContext facesContext, UIData uiData, int columnIndex)Perform any operations necessary immediately before each column child is renderedprotected voidbeforeColumnHeaderOrFooter(FacesContext facesContext, UIData uiData, boolean header, int columnIndex)Perform any operations necessary immediately before each column child's header or footer is renderedprotected voidbeforeRow(FacesContext facesContext, UIData uiData)Perform any operations necessary immediately before each TR start tag is output.protected voidbeforeTable(FacesContext facesContext, UIData uiData)Perform any operations necessary immediately before the TABLE start tag is output.voiddecode(FacesContext context, UIComponent component)protected intdetermineChildColSpan(UIComponent uiComponent)Calculate the number of columns the specified child component will span when rendered.protected StringdetermineHeaderCellTag(FacesContext facesContext, UIComponent uiComponent)protected StringdetermineHeaderFooterTag(FacesContext facesContext, UIComponent component, boolean header)voidencodeBegin(FacesContext facesContext, UIComponent uiComponent)Render the necessary bits that come before any actual rows in the table.voidencodeChildren(FacesContext facesContext, UIComponent component)Render the TBODY section of the html table.protected voidencodeColumnChild(FacesContext facesContext, ResponseWriter writer, UIData uiData, UIComponent component, HtmlTableRendererBase.Styles styles, int columnStyleIndex)voidencodeEnd(FacesContext facesContext, UIComponent uiComponent)voidencodeInnerHtml(FacesContext facesContext, UIComponent component)Renders everything inside the TBODY tag by iterating over the row objects between offsets first and first+rows and applying the UIColumn components to those objects.protected voidendTable(FacesContext facesContext, UIComponent uiComponent)actually render the end of the tableprotected intgetColumnCountForComponent(FacesContext facesContext, UIData uiData, UIComponent child)Indicates the number of columns the component represents.protected static StringgetFooterClass(UIComponent component)Gets the footerClass attribute of the givenUIComponent.protected static StringgetHeaderClass(UIComponent component)Gets the headerClass attribute of the givenUIComponent.protected intgetNewspaperColumns(UIComponent component)protected UIComponentgetNewspaperTableSpacer(UIComponent component)booleangetRendersChildren()protected static HtmlTableRendererBase.StylesgetStyles(UIData uiData)Gets styles for the specified component.protected booleanhasFacet(boolean header, UIComponent uiComponent)protected booleanhasNewspaperTableSpacer(UIComponent component)protected voidinBodyStart(FacesContext facesContext, UIData uiData)Perform any operations necessary in the TBODY start tag.protected booleanisNewspaperHorizontalOrientation(UIComponent component)protected voidrenderCaptionFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component)Renders the caption facet.protected voidrenderColgroupsFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component)Renders the colgroups facet.protected voidrenderColumnBody(FacesContext facesContext, ResponseWriter writer, UIData uiData, UIComponent component, HtmlTableRendererBase.Styles styles, int columnStyleIndex)Renders the body of a givenUIColumn(everything but the header and footer facets).protected voidrenderColumnChildHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, String styleClass, boolean isHeader)protected voidrenderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn, String footerStyleClass, int colspan)Renders the footer facet for the givenUIColumn.protected voidrenderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, UIComponent facet, String footerStyleClass, int colspan)Renders the footer facet for the givenUIColumn.protected voidrenderColumnFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String footerStyleClass)Renders the footer row for the columns, which is a separate row from the footer row for theUIDatafooter facet.protected voidrenderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn, String headerStyleClass, int colspan)Renders the header facet for the givenUIColumn.protected voidrenderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, UIComponent facet, String headerStyleClass, int colspan)Renders a TH cell within a TR within a THEAD section.protected voidrenderColumnHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String headerStyleClass)Renders the header row for the columns, which is a separate row from the header row for theUIDataheader facet.protected voidrenderFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component, boolean header)Renders either the header or the footer facets for the UIData component and all the child UIColumn components, as a THEAD or TFOOT element containing TR (row) elements.protected voidrenderRowEnd(FacesContext facesContext, ResponseWriter writer, UIData uiData)Renders the end of a row of body content.protected voidrenderRowStart(FacesContext facesContext, ResponseWriter writer, UIData uiData, HtmlTableRendererBase.Styles styles, int rowStyleIndex)Renders the start of a new row of body content.protected voidrenderRowStyle(FacesContext facesContext, ResponseWriter writer, UIData uiData, HtmlTableRendererBase.Styles styles, int rowStyleIndex)protected voidrenderSpacerCell(FacesContext facesContext, ResponseWriter writer, UIComponent component)Renders a spacer between adjacent newspaper columns.protected voidrenderTableFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent footerFacet, String footerStyleClass, int colspan)Renders the footer row of the table being rendered.protected voidrenderTableHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent facet, String styleClass, String colElementName, int colspan, boolean isHeader)protected voidrenderTableHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent headerFacet, String headerStyleClass, int colspan)Renders the header row of the table being rendered.protected voidstartTable(FacesContext facesContext, UIComponent uiComponent)actually render the start of the table- 
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderergetActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
 - 
Methods inherited from class jakarta.faces.render.RendererconvertClientId, getConvertedValue
 
- 
 
- 
- 
- 
Field Detail- 
HEADER_FACET_NAMEprotected static final String HEADER_FACET_NAME - See Also:
- Constant Field Values
 
 - 
FOOTER_FACET_NAMEprotected static final String FOOTER_FACET_NAME - See Also:
- Constant Field Values
 
 - 
CAPTION_FACET_NAMEprotected static final String CAPTION_FACET_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNewspaperColumnsprotected int getNewspaperColumns(UIComponent component) - Parameters:
- component- dataTable
- Returns:
- number of layout columns
 
 - 
getNewspaperTableSpacerprotected UIComponent getNewspaperTableSpacer(UIComponent component) - Parameters:
- component- dataTable
- Returns:
- component to display between layout columns
 
 - 
hasNewspaperTableSpacerprotected boolean hasNewspaperTableSpacer(UIComponent component) - Parameters:
- component- dataTable
- Returns:
- whether dataTable has component to display between layout columns
 
 - 
isNewspaperHorizontalOrientationprotected boolean isNewspaperHorizontalOrientation(UIComponent component) - Parameters:
- component- dataTable
- Returns:
- whether dataTable has newspaper columns layed out horizontally
 
 - 
getRendersChildrenpublic boolean getRendersChildren() - Overrides:
- getRendersChildrenin class- Renderer
 
 - 
encodeBeginpublic void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException Render the necessary bits that come before any actual rows in the table.- Overrides:
- encodeBeginin class- Renderer
- Throws:
- IOException
- See Also:
- Renderer.encodeBegin(FacesContext, UIComponent)
 
 - 
startTableprotected void startTable(FacesContext facesContext, UIComponent uiComponent) throws IOException actually render the start of the table- Throws:
- IOException
 
 - 
encodeChildrenpublic void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException Render the TBODY section of the html table. See also method encodeInnerHtml.- Overrides:
- encodeChildrenin class- Renderer
- Throws:
- IOException
- See Also:
- Renderer.encodeChildren(FacesContext, UIComponent)
 
 - 
renderCaptionFacetprotected void renderCaptionFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException Renders the caption facet.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the parent- UIComponentcontaining the facets.
- Throws:
- IOException- if an exception occurs.
 
 - 
renderColgroupsFacetprotected void renderColgroupsFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException Renders the colgroups facet.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the parent- UIComponentcontaining the facets.
- Throws:
- IOException- if an exception occurs.
- Since:
- 2.0
 
 - 
getStylesprotected static HtmlTableRendererBase.Styles getStyles(UIData uiData) Gets styles for the specified component.
 - 
encodeInnerHtmlpublic void encodeInnerHtml(FacesContext facesContext, UIComponent component) throws IOException Renders everything inside the TBODY tag by iterating over the row objects between offsets first and first+rows and applying the UIColumn components to those objects.This method is separated from the encodeChildren so that it can be overridden by subclasses. One class that uses this functionality is autoUpdateDataTable. - Throws:
- IOException
 
 - 
encodeColumnChildprotected void encodeColumnChild(FacesContext facesContext, ResponseWriter writer, UIData uiData, UIComponent component, HtmlTableRendererBase.Styles styles, int columnStyleIndex) throws IOException - Throws:
- IOException
 
 - 
renderColumnBodyprotected void renderColumnBody(FacesContext facesContext, ResponseWriter writer, UIData uiData, UIComponent component, HtmlTableRendererBase.Styles styles, int columnStyleIndex) throws IOException Renders the body of a givenUIColumn(everything but the header and footer facets). This emits a TD cell, whose contents are the result of calling encodeBegin, encodeChildren and encodeEnd methods on the component (or its associated renderer).- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiData- the- UIDatabeing rendered.
- component- the- UIComponentto render.
- Throws:
- IOException- if an exception occurs.
 
 - 
renderRowStartprotected void renderRowStart(FacesContext facesContext, ResponseWriter writer, UIData uiData, HtmlTableRendererBase.Styles styles, int rowStyleIndex) throws IOException Renders the start of a new row of body content.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException- if an exceptoin occurs.
 
 - 
renderRowStyleprotected void renderRowStyle(FacesContext facesContext, ResponseWriter writer, UIData uiData, HtmlTableRendererBase.Styles styles, int rowStyleIndex) throws IOException - Throws:
- IOException
 
 - 
renderRowEndprotected void renderRowEnd(FacesContext facesContext, ResponseWriter writer, UIData uiData) throws IOException Renders the end of a row of body content.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException- if an exceptoin occurs.
 
 - 
beforeTableprotected void beforeTable(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary immediately before the TABLE start tag is output.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
beforeBodyprotected void beforeBody(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary after TABLE start tag is output but before the TBODY start tag.This method generates the THEAD/TFOOT sections of a table if there are any header or footer facets defined on the table or on any child UIColumn component. - Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
beforeRowprotected void beforeRow(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary immediately before each TR start tag is output.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
afterRowprotected void afterRow(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary immediately after each TR end tag is output.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
beforeColumnprotected void beforeColumn(FacesContext facesContext, UIData uiData, int columnIndex) throws IOException Perform any operations necessary immediately before each column child is rendered- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- columnIndex- the index of the currenly rendered column
- Throws:
- IOException
 
 - 
afterColumnprotected void afterColumn(FacesContext facesContext, UIData uiData, int columnIndex) throws IOException Perform any operations necessary immediately after each column child is rendered- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- columnIndex- the index of the currenly rendered column
- Throws:
- IOException
 
 - 
getColumnCountForComponentprotected int getColumnCountForComponent(FacesContext facesContext, UIData uiData, UIComponent child) Indicates the number of columns the component represents. By default each UIColumn instance is 1 column- Parameters:
- facesContext-
- uiData-
- child-
- Returns:
 
 - 
beforeColumnHeaderOrFooterprotected void beforeColumnHeaderOrFooter(FacesContext facesContext, UIData uiData, boolean header, int columnIndex) throws IOException Perform any operations necessary immediately before each column child's header or footer is rendered- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- header- true if the header of the column child is rendered
- columnIndex- the index of the currenly rendered column
- Throws:
- IOException
 
 - 
afterColumnHeaderOrFooterprotected void afterColumnHeaderOrFooter(FacesContext facesContext, UIData uiData, boolean header, int columnIndex) throws IOException Perform any operations necessary immediately after each column child's header of footer is rendered- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- header- true if the header of the column child is rendered
- columnIndex- the index of the currenly rendered column
- Throws:
- IOException
 
 - 
inBodyStartprotected void inBodyStart(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary in the TBODY start tag.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
afterBodyprotected void afterBody(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary immediately after the TBODY end tag is output.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
afterTableprotected void afterTable(FacesContext facesContext, UIData uiData) throws IOException Perform any operations necessary immediately after the TABLE end tag is output.- Parameters:
- facesContext- the- FacesContext.
- uiData- the- UIDatabeing rendered.
- Throws:
- IOException
 
 - 
encodeEndpublic void encodeEnd(FacesContext facesContext, UIComponent uiComponent) throws IOException - Overrides:
- encodeEndin class- Renderer
- Throws:
- IOException
- See Also:
- Renderer.encodeEnd(FacesContext, UIComponent)
 
 - 
endTableprotected void endTable(FacesContext facesContext, UIComponent uiComponent) throws IOException actually render the end of the table- Throws:
- IOException
 
 - 
renderFacetprotected void renderFacet(FacesContext facesContext, ResponseWriter writer, UIComponent component, boolean header) throws IOException Renders either the header or the footer facets for the UIData component and all the child UIColumn components, as a THEAD or TFOOT element containing TR (row) elements.If there is a header or footer attached to the UIData then that is rendered as a TR element whose COLSPAN is the sum of all rendered columns in the table. This allows that header/footer to take up the entire width of the table. If any child column has a header or footer then a TR is rendered with a TH cell for each column child. - Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the UIData component
- header- whether this is the header facet (if not, then the footer facet).
- Throws:
- IOException- if an exception occurs.
 
 - 
determineHeaderFooterTagprotected String determineHeaderFooterTag(FacesContext facesContext, UIComponent component, boolean header) 
 - 
hasFacetprotected boolean hasFacet(boolean header, UIComponent uiComponent)- Parameters:
- header-
- uiComponent-
- Returns:
- boolean
 
 - 
determineChildColSpanprotected int determineChildColSpan(UIComponent uiComponent) Calculate the number of columns the specified child component will span when rendered.Normally, this is a fairly simple calculation: a UIColumn component is rendered as one column, every other child type is not rendered (ie spans zero columns). However custom subclasses of this renderer may override this method to handle cases where a single component renders as multiple columns. 
 - 
renderTableHeaderRowprotected void renderTableHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent headerFacet, String headerStyleClass, int colspan) throws IOException Renders the header row of the table being rendered.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the- UIComponentfor whom a table is being rendered.
- headerFacet- the facet for the header.
- headerStyleClass- the styleClass of the header.
- colspan- the number of columns the header should span. Typically, this is the number of columns in the table.
- Throws:
- IOException- if an exception occurs.
 
 - 
renderTableFooterRowprotected void renderTableFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent footerFacet, String footerStyleClass, int colspan) throws IOException Renders the footer row of the table being rendered.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the- UIComponentfor whom a table is being rendered.
- footerFacet- the facet for the footer.
- footerStyleClass- the styleClass of the footer.
- colspan- the number of columns the header should span. Typically, this is the number of columns in the table.
- Throws:
- IOException- if an exception occurs.
 
 - 
renderColumnHeaderRowprotected void renderColumnHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String headerStyleClass) throws IOException Renders the header row for the columns, which is a separate row from the header row for theUIDataheader facet.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the UIData component for whom a table is being rendered.
- headerStyleClass- the styleClass of the header
- Throws:
- IOException- if an exception occurs.
 
 - 
renderColumnFooterRowprotected void renderColumnFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, String footerStyleClass) throws IOException Renders the footer row for the columns, which is a separate row from the footer row for theUIDatafooter facet.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- component- the- UIComponentfor whom a table is being rendered.
- footerStyleClass- the styleClass of the footerStyleClass
- Throws:
- IOException- if an exception occurs.
 
 - 
renderTableHeaderOrFooterRowprotected void renderTableHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component, UIComponent facet, String styleClass, String colElementName, int colspan, boolean isHeader) throws IOException - Throws:
- IOException
 
 - 
renderSpacerCellprotected void renderSpacerCell(FacesContext facesContext, ResponseWriter writer, UIComponent component) throws IOException Renders a spacer between adjacent newspaper columns.- Throws:
- IOException
 
 - 
renderColumnChildHeaderOrFooterRowprotected void renderColumnChildHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, String styleClass, boolean isHeader) throws IOException - Throws:
- IOException
 
 - 
renderColumnHeaderCellprotected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn, String headerStyleClass, int colspan) throws IOException Renders the header facet for the givenUIColumn.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiColumn- the- UIColumn.
- headerStyleClass- the styleClass of the header facet.
- colspan- the colspan for the tableData element in which the header facet will be wrapped.
- Throws:
- IOException
 
 - 
renderColumnHeaderCellprotected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, UIComponent facet, String headerStyleClass, int colspan) throws IOException Renders a TH cell within a TR within a THEAD section. If the specified UIColumn object does have a header facet, then that facet is rendered within the cell, otherwise the cell is left blank (though any specified style class is still applied to empty cells).- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiComponent- the- UIComponentto render the facet for.
- facet- the- UIComponentto render as facet.
- headerStyleClass- the styleClass of the header facet.
- colspan- the colspan for the tableData element in which the header facet will be wrapped.
- Throws:
- IOException
 
 - 
determineHeaderCellTagprotected String determineHeaderCellTag(FacesContext facesContext, UIComponent uiComponent) 
 - 
renderColumnFooterCellprotected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn, String footerStyleClass, int colspan) throws IOException Renders the footer facet for the givenUIColumn.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiColumn- the- UIComponent.
- footerStyleClass- the styleClass of the footer facet.
- colspan- the colspan for the tableData element in which the footer facet will be wrapped.
- Throws:
- IOException
 
 - 
renderColumnFooterCellprotected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent, UIComponent facet, String footerStyleClass, int colspan) throws IOException Renders the footer facet for the givenUIColumn.- Parameters:
- facesContext- the- FacesContext.
- writer- the- ResponseWriter.
- uiComponent- the- UIComponentto render the facet for.
- facet- the- UIComponentto render as facet.
- footerStyleClass- the styleClass of the footer facet.
- colspan- the colspan for the tableData element in which the footer facet will be wrapped.
- Throws:
- IOException
 
 - 
getHeaderClassprotected static String getHeaderClass(UIComponent component) Gets the headerClass attribute of the givenUIComponent.- Parameters:
- component- the- UIComponent.
- Returns:
- the headerClass attribute of the given UIComponent.
 
 - 
getFooterClassprotected static String getFooterClass(UIComponent component) Gets the footerClass attribute of the givenUIComponent.- Parameters:
- component- the- UIComponent.
- Returns:
- the footerClass attribute of the given UIComponent.
 
 - 
decodepublic void decode(FacesContext context, UIComponent component) 
 
- 
 
-