I try to work with pe:timer component. I have set up primefaces extensions according to instructions.
However, when I try timer with basic usage exapmle on the showcase , it does not work. Neither it counting down nor it has number on the component. Only empty rectengular shape.
I have primefaces 6.1 and extensions 6.1.1 jar.
This is the whole code I tried an it did not work.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:pe="http://primefaces.org/ui/extensions"
>
<h:head>
</h:head>
<h:body>
<h:form id="headerForm">
<p:growl autoUpdate="true"/>
<pe:timer
singleRun="false"
listener="#{basicTimerController.onTimeout}"/>
</h:form>
</h:body>
</html>