Timer extension does not work

Community Driven Extensions Project
Post Reply
gurhan
Posts: 2
Joined: 30 May 2017, 14:32

12 Jul 2017, 14:09

Hi all;
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>
thanks in advance.

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

12 Jul 2017, 15:23

Hmmm I can't reproduce. Download the showcase source and run "mvn clean jetty:run" to run the showcase at "http://localhost:8080/primeext-showcase ... /basic.jsf". It seems to be working fine for me.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

gurhan
Posts: 2
Joined: 30 May 2017, 14:32

13 Jul 2017, 12:37

I have figured out the problem.
I have ear project with web module. As a convension I have used ear's deployment assembly for all the jar files to add class loader which has been worked fine for primefaces jar. However extensions jar did not like the ear's deployment assembly so I have changed both jar's definition to the deployment assembly of web module and it worked fine .
Thanks for the help.

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

13 Jul 2017, 12:50

No problem! Glad you got it resolved!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests