Luis Pavez
Luis Pavez

Reputation: 43

progressBar in mode indeterminate with Primefaces

I'm trying to implemate a progressBar in mode indeterminate but it's doesnt work. I was reading the documentation, but never says something about mode indeterminate. This example there is in the web, and if I copy and paste, it works the rest, but indeterminate dont.

<h3>Indeterminate</h3>
    <p:progressBar id="progressBarIndeterminate" style="height:6px" mode="indeterminate"/>

Upvotes: 0

Views: 1143

Answers (2)

Antonis
Antonis

Reputation: 11

Firstly as they already commented you have to be on Primefaces version 6.2+

If you are already updated with the version try setting the width!

 <div class="ui-g-12">
   <p:progressBar id="progressBarIndeterminate" style="width:100%; height:6px"
                                       mode="indeterminate"/>
 </div>

The only thing that they forgot is to specify the width while givving it for testing. Please specify a width and check it again. I tried it and as you can see the results are perfect.

testing image

Upvotes: 0

Luis Pavez
Luis Pavez

Reputation: 43

It was the version of Primefaces. This mode works with min version 6.2

Upvotes: 1

Related Questions