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

Input Style

Themes

PrimeUIX
Aura Light Emerald Aura Light Emerald
Aura Dark Emerald Aura Dark Emerald
PrimeOne
Saga Blue Saga Blue
Vela Blue Vela Blue
Arya Blue Arya Blue
Bootstrap
Bootstrap Blue Light Bootstrap Blue Light
Bootstrap Purple Light Bootstrap Purple Light
Bootstrap Blue Dark Bootstrap Blue Dark
Bootstrap Purple Dark Bootstrap Purple Dark
Material Design
Material Indigo Light Material Indigo Light
Material Deep Purple Light Material Deep Purple Light
Material Indigo Dark Material Indigo Dark
Material Deep Purple Dark Material Deep Purple Dark
Material Design Compact
Material Compact Indigo Light Material Compact Indigo Light
Material Compact Deep Purple Light Material Compact Deep Purple Light
Material Compact Indigo Dark Material Compact Indigo Dark
Material Compact Deep Purple Dark Material Compact Deep Purple Dark
Legacy
Nova Light Nova Light
Nova Dark Nova Dark
Nova Colored Nova Colored
Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink

IdleMonitor

IdleMonitor tracks user actions and invokes corresponding events when user goes idle after a specified time and becomes active again.

IdleMonitor Tag Documentation

IdleMonitor watches user actions on a page and notify callbacks in case they go idle or active again.

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.
multiWindowSupport boolean false false When true, the lastAccessed state is shared across all browser windows within the same servlet context.
onactive String false Client side callback to execute when the user comes back.
onidle String false Client side callback to execute when the user goes idle.
timeout int false 300000 Time to wait in milliseconds until deciding if the user is idle.
Loading...
Tag DocumentationNew DocumentationNew Documentation JSDoc
Stay idle on this page for 5 seconds to view the demo.

Usage


<div class="card">
    <h:form>
        Stay idle on this page for 5 seconds to view the demo.

        <p:growl id="messages" showDetail="true" sticky="true"/>

        <p:idleMonitor timeout="5000">
            <p:ajax event="idle" listener="#{idleMonitorView.onIdle}" update="messages"/>
            <p:ajax event="active" listener="#{idleMonitorView.onActive}" update="messages"/>
        </p:idleMonitor>
    </h:form>
</div>