I think that some people might be confused about the difference to the p:progressbar. But I also agree with you, that the semantic of statusBar is different to the use case. I would vote for pe:outputProgressBar.We can also call it pe:outputProgressBar
You already said it. Currently I nested a div container with a outputText inside of my progressBar and changed the CSS to display it inside of the progressBar. But for people who don't like to play with CSS it might be useful to have a simple label attribute.I don't know by the way if we need "labelTemplate" attribute at all. Because it's not flexible.
Code: Select all
<p:progressBar value="#{myBean.worskpaceUsage}" styleClass="limits_workspace #{myBean.workspaceProgressbarStyleClass}" >
<div class="progressBarTextDisk"><h:outputText styleClass="span" value="#{myBean.worskpaceUsage}% #{lang.inputDiskSpace} #{myBean.workspaceUsageInfo}"/></div>
</p:progressBar>