refresh

Table of Contents

Overview

Since 3.1

The icecore:refresh tag allows a view to be periodically refreshed via ajax without requiring an asynchronous ajax-push connection to be held open.

See the ICEfaces Showcase Live Demo of this component, complete with source code.

Getting Started

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

<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
Then add the icecore:refresh tag to your page markup. For instance, to cause the page to be updated every 10 seconds over the course of 2 minutes:

<h:body>
    <icecore:refresh interval="10" duration="2"/>
    ...

Attributes

TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

interval - Update the page via ajax every interval seconds.

duration - Update the page via ajax for duration minutes.

Notes

The page will be updated every interval seconds for a total time of duration minutes.
If the page is refreshed by the user, the duration timer is restarted.
If the duration is not specified, or -1 is specified, they are equivalent to an infinite duration, and the page will be periodically refreshed until the user leaves the page.
A duration of 0 is equivalent to disabling the control.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.