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

PREMIUM TEMPLATES

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

Log

Log component is a visual console to display internal logs of PrimeFaces. Using log client side API, you can also use the component.

    Client Side API
    Ajax Request
    
    <style type="text/css">
        .ui-log {
            left: 750px;
            top: 250px;
        }
    </style>
    
    <div class="card">
        <p:log id="log"/>
    
        <h5 class="p-mt-0">Client Side API</h5>
        <p:commandButton type="button" id="info" value="Info"
                         onclick="PrimeFaces.info('This is an info message.')" styleClass="p-mr-2" />
        <p:commandButton type="button" id="warn" value="Warn" onclick="PrimeFaces.warn('This is a warn message.')" styleClass="p-mr-2" />
        <p:commandButton type="button" id="debug" value="Debug"
                         onclick="PrimeFaces.debug('This is a debug message.')" styleClass="p-mr-2" />
        <p:commandButton type="button" id="error" value="Error"
                         onclick="PrimeFaces.error('This is an error message.')"/>
    
        <h5>Ajax Request</h5>
        <h:form id="form">
            <h:panelGrid id="grid" columns="4" cellpadding="7">
                <p:outputLabel for="name" value="Name:"/>
                <p:inputText id="name"/>
            </h:panelGrid>
    
            <p:commandButton value="Submit" update="grid" styleClass="p-mt-3" />
        </h:form>
    </div>