arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
Timer
Timer Timer fires an JSF listener after an customizable interval. It also provide a Javascript API to start,pause and stop the timer.
Components and more
Documentation pe:timer
Attributes (move mouse over the names to see data types)
Name Description
asyncWhen set to true, ajax requests are not queued.Default is false.
autoStartIf true, timer starts automatically.Default is true.
bindingAn EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
delayIf less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. If this option is not specified, or if the value of delay is the literal string 'none' without the quotes, no delay is used.
formForm to serialize for an ajax request.Default is The enclosing form.
formatDisplay format.
formatFunctionClient-side function used to format the remaining duration.
forwardTimer direction, true is forward.Default is false.
globalGlobal ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus.Default is true.
idUnique identifier of the component in a namingContainer.Default is generated.
ignoreAutoUpdateIf true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made.Default is false.
ignoreComponentNotFoundIf true, unresolvable components (ComponentNotFoundException) referenced in the update/process attribute are ignored.Default is false.
immediateDetermines the phaseId, true means APPLY_REQUEST_VALUES, false means INVOKE_APPLICATION.Default is false.
intervalInterval in milliseconds.Default is 1000.
listenerA method expression to invoke by polling.
localeString or Locale representing user locale.
oncompleteClient-side javascript callback to execute when ajax request is completed.
onerrorClient-side javascript callback to execute when ajax request fails.
onstartClient-side javascript callback to execute before ajax request begins.
onsuccessClient-side javascript callback to execute when ajax request succeeds.
ontimercompleteJavaScript callback before timer completion.
ontimerstepJavaScript callback on each timer step.
partialSubmitEnables serialization of values belonging to the partially processed components only.Default is false.
partialSubmitFilterSelector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components.
processComponent(s) to process in partial request.
renderedBoolean value to specify the rendering of the component, when set to false component will not be rendered.Default is true.
resetValuesIf true, local values of input components to be updated within the ajax request would be reset.Default is false.
singleRunWhen true, timer executes once and stops.Default is true.
styleInline style of the component.
styleClassStyle class of the component.
timeoutTimeout in seconds.Default is 10.
titleTitle rendered on the timer element.
updateComponent(s) to update with ajax.
visibleControls visibility.Default is true.
widgetVarName of the client side widget.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 16.0.0-SNAPSHOT,PrimeFaces Extensions: 16.0.0-SNAPSHOT,JSF: Apache MyFaces Core 4.0 - Impl 4.0.3,Server: Apache Tomcat (TomEE)/10.1.52 (10.1.4),Build time: 2026-03-11 11:42