Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag polling

## The Polling Composite Component

### Features

- Provides an easy way to do client-side polling
- The polling interval is a configurable parameter of the component
- A PhaseListener will identify a polling request and perform the necessary bean logic

### How To Use

1. If you would like to execute code at every poll, add PollingListener.java to your application, and register PollingListener as a phase-listener in your faces-config.xml
2. Add the ice-cc:polling tag to your page, inside a form
3. Set the 'interval' attribute of the tag (in milliseconds)

Example:

    <ice-cc:polling interval="#{pollingExampleBean.spinner.value}"/>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Polling Composite Component

Attributes
Name | Required | Request-time | Type | Description
interval | false | false | `java.lang.Integer` | Sets the interval for polling updates (in milliseconds)(default 4000)

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.