Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Trinidad Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Server Behaviors
  8. Property Inspectors
Selected 9. Trinidad Tag Reference

10. Trinidad Core Tag Reference

Contents > Trinidad Core Tag Reference > tr:poll

tr:poll

The tr:poll tag checks the server so that dependent components get updated.

Example

<tr:poll></tr:poll>

HTML Output

(No output.)

Tag Attributes

attributeChangeListener Text
 
The attributeChangeListener attribute contains the reference to a method that is invoked when the renderer changes a property without the application’s request.
binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
immediate Boolean
 
The immediate attribute is a boolean flag indicating that component events should be sent to registered event listeners immediately rather than after the validation phase of the JSF request processing lifecycle. The immediate flag allows you bypass JSF validation for a particular component.
interval Text
 
The interval attribute sets the time in milliseconds between poll events. The default is 5000 milliseconds. Ensure that the interval is sufficiently long enough when using a screen reader.
pollListener Text
 
The pollListener attribute the reference to a method that is invoked for polling.
rendered Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.