6 Replies Latest reply on Sep 28, 2009 8:00 PM by Mike Maurer

    rich:progressBar not updating when maxValue changes

    Mike Maurer Newbie

      I am using a rich:progressBar to display the progress of a search function that iterates through several categories. I want the bar to show the progress of each category separately, so I have a binding expression on the "maxValue" attribute so it will change on the fly in a backing bean. The value changes properly, and the progress bar continues to work normally; but does not reconfigure itself with the new maxValue. The bar continues to grow at the old maxValue rate. Are we not allowed to change the minValue and maxValue on the fly? Do bean binding expressions like this work on these attributes?

      For example:

      <rich:progressBar
       value="#testBean.progressCount}"
       interval="1000"
       label="min={minValue}, current={value}, max={maxValue}"
       minValue="0"
       maxValue="#{testBean.myMaxValue}" />