actionPoller component invokes a method on the controller at a constant time interval. It can be used to perform a long-running operation incrementally, using a series of smaller steps. Another common usage is to perform a repetitive background task such as querying the database for some interesting business event. For example, a user interface designed for project staffers might use an
actionPoller to automatically refresh a list of available resources once per minute.
actionPoller, provide a value for the
action attribute, the controller method to invoke, and enclose it in a
form component. This usage fires the action method every 60 seconds. Optionally, provide a value for the
interval attribute, the time in ...