IdleMonitor

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

Documentation
Stay idle on this page for 5 seconds to view the demo.
<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>

FREE THEMES

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

nova-light Nova-Light
nova-dark Nova-Dark
nova-colored Nova-Colored
luna-blue Luna-Blue
luna-amber Luna-Amber
luna-green Luna-Green
luna-pink Luna-Pink
omega Omega

PREMIUM TEMPLATES

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