idleMonitor

You are viewing an old version (v. 3) of this page.
The latest version is v. 10, last edited on Sep 24, 2015 (view differences | )
<< View previous version | view page history | view next version >>

Overview

You can use icecore:idleMonitor tag to show the enclosed markup when the user has not interacted with the page for a period of time. The markup will be hidden again once the user resumes the activity.

Getting Started

To use the icecore:idleMonitor tag, first declare the core namespace:

<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">

Then add the tag to your page markup and define the interval (in seconds) after which the markup should be made visible:

<h:body> 
    ... 
    <icecore:idleMonitor interval="40">
        <div style="color: red">
            Your session is about to expire in 20 seconds!
        </div>
    </icecore:idleMonitor>
    ... 
</h:body>

Attributes

interval Use this attribute to specify the interval in seconds after which the enclosed markup is made visible. When not specified the used value is 20 seconds.

The idleMonitor tag was added in ICEfaces EE 3.3.0.GA_P02, 4.0.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.