Using an af:poll component to periodically refresh a table

The ADF Faces Poll component (af:poll) can be used to deliver poll events to the server as a means to periodically update page components. Poll events are delivered to a poll listener—a managed bean method—by referencing the method using the pollListener attribute. These poll events are delivered to the poll listener based on the value specified by the interval attribute. The poll interval is indicated in milliseconds; polling can be disabled by setting the interval to a negative value. An af:poll can also be referenced from the partialTriggers property of a component to partially refresh the component. In this case, a pollListener is not needed.

In this recipe, we will implement polling ...

Get Oracle JDeveloper 11gR2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.