• Settings
    • Locale
    • Change the locale of the datepicker, schedule and client side validation messages.

      Language
      English
      English
      English
      French
      German
      German
      German
      Italian
      Korean
      Spanish
      Catalan
      Dutch
      Portuguese
      Portuguese
      Arabic
      Arabic
      Bulgarian
      Bangla
      Bosnian
      Czech
      Greek
      Estonian
      Persian
      Finnish
      Danish
      Hindi
      Indonesian
      Icelandic
      Croatian
      Japanese
      Hungarian
      Hebrew
      Georgian
      Central Kurdish
      Khmer
      Kyrgyz
      Kazakh
      Lithuanian
      Latvian
      Malay
      Norwegian
      Polish
      Romanian
      Russian
      Slovak
      Slovenian
      Serbian
      Serbian
      Swedish
      Thai
      Turkish
      Ukrainian
      Uzbek
      Vietnamese
      Chinese
      Chinese
  • Resources

Log

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

Log Tag Documentation

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

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc
    Client Side API
    Ajax Request

    Usage

    
    <style>
        .ui-log {
            left: 750px;
            top: 250px;
        }
    </style>
    
    <div class="card">
        <p:log id="log"/>
    
        <h5 class="mt-0">Client Side API</h5>
        <p:commandButton type="button" id="info" value="Info"
                         onclick="PrimeFaces.info('This is an info message.')" styleClass="mr-2" />
        <p:commandButton type="button" id="warn" value="Warn" onclick="PrimeFaces.warn('This is a warn message.')" styleClass="mr-2" />
        <p:commandButton type="button" id="debug" value="Debug"
                         onclick="PrimeFaces.debug('This is a debug message.')" styleClass="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="mt-3" />
        </h:form>
    </div>