PrimeFaces status bar is static, not animated

I am following an example on PrimeFaces showcase

What I'm trying to do is show a static line of a given value (10%) but have an animated effect of an animated panel. I tried combining both of them to get the static value that I need, but the effect I want is still completely static.

<p:progressBar value="10" 
               labelTemplate="{value}%" 
               ajax="true" 
               styleClass="animated"> 
</p:progressBar> 

This is my code. How can I achieve an animated look at a given value?

Thanks guys,

+3
source share
2 answers

p: progressBar. - , JavaScript ( ). - ajax, bean ( , ). .

, , , . , - , JavaScript. , , , . , , HTML. , .

+3

ppawel, , , , <body onload="animationFunction()">, , animationFunction() javascript

0

All Articles