5.7. <a4j:poll>

The <a4j:poll> component allows periodical sending of Ajax requests to the server. It is used for repeatedly updating a page at specific time intervals.

5.7.1. Timing options

The interval attribute specifies the time in milliseconds between requests. The default for this value is 1000 ms (1 second).
The <a4j:poll> component can be enabled and disabled using the enabled attribute. Using Expression Language (EL), the enabled attribute can point to a bean property to apply a particular attribute value.

5.7.2. Reference data

  • component-type: org.richfaces.Poll
  • component-class: org.richfaces.component.UIPoll
  • component-family: org.richfaces.Poll
  • renderer-type: org.richfaces.PollRenderer
  • handler-class: org.richfaces.view.facelets.html.AjaxPollHandler