Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent


Create awesome applications in no time using the premium templates and impress your users.

DataTable Header and Footer

Header and Footer section are defined using facets.

List of Products
f230fh0g3Bamboo WatchAccessories24
nvklal433Black WatchAccessories61
zz21cz3c1Blue BandFitness2
244wgerg2Blue T-ShirtClothing25
av2231fwgBrown PurseAccessories0
bib36pfvmChakra BraceletAccessories5
mbvjkgip5Galaxy EarringsAccessories23
vbb124btrGame ControllerElectronics2
cm230f032Gaming SetElectronics63

<div class="card">
    <p:dataTable var="product" value="#{dtBasicView.products}">
        <f:facet name="header">
            List of Products

        <p:column headerText="Code">
            <h:outputText value="#{product.code}" />

        <p:column headerText="Name">
            <h:outputText value="#{}" />

        <p:column headerText="Category">
            <h:outputText value="#{product.category}" />

        <p:column headerText="Quantity">
            <h:outputText value="#{product.quantity}" />

        <f:facet name="footer">
            <span class="p-text-bold">In total there are #{fn:length(dtBasicView.products)} products.</span>