Obsolete
On May 17th, the functionality of the newspaperTable component was merged into t:dataTable (Extended DataTable) for the tomahawk-1.1.3-SNAPSHOT.jar. The newspaperTable component will be removed in the future. Please use t:dataTable instead.
Upgrade to t:dataTable by replacing all references to t:newspaperTable with t:dataTable.
Description
The newspaperTable tag allows a long, narrow table to be wrapped so that it becomes a short, wide table. This allows more information to be shown on a single screen. This is commonly used to present checkboxes for a long list of items.
API
component-family | javax.faces.Data |
renderer-type | org.apache.myfaces.HtmlNewspaperTable |
component-class | org.apache.myfaces.custom.newspaper.HtmlNewspaperTable |
renderer-class | org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer |
tag-class | org.apache.myfaces.custom.newspaper.HtmlNewspaperTableTag |
Usage
<t:newspaperTable newspaperColumns="3" value="#{addressBB.states}" var="state"> <f:facet name="spacer"><f:verbatim> </f:verbatim></f:facet> <h:column> <h:outputText value="#{state.abbr}"/> </h:column> <h:column> <h:outputText value="#{state.name}"/> </h:column> </t:newspaperTable>