I am using the progress bar component “hack” for polling the server and updating an image that displays CPU usage.
I have been able to successfully do this, but I have been unable to make the progress bar disappear unless I set the following value in the styles.css:
.i-progressindicator {
display: none;
}
Which I do not want to do since it makes all the progress bars disappear.
According to the documentation and posts on the forums I have created my progress bar as such:
// Create the indicator
final ProgressIndicator indicator = new ProgressIndicator(new Float(0.0));
indicator.addStyleName(“invisible”);
main.addComponent(indicator);
indicator.setPollingInterval(2000);
And my styles.css file has:
.i-progressindicator-invisible {
display: none;
}
But the progress bar is still visible.
I have tried using IT Mill Toolkit 5.3.0 RC5 and RC7.
Ticket #2420 has been fixed today and the fix will be included in the next nightly and also in 5.3.0RC8. I am not aware of any good workaround at the moment.