Skip to main content

HTML and Javascript progress bar for Plone

Project description


This product provides a basic html and javascript progress bar for Plone that are useful for long running server side processes like imports or exports.

To use it, you simply have to fire two events. The first event initialises the progress bar view:

from import InitialiseProgressBar
from import ProgressBar

title = 'Importing file'
bar = ProgressBar(self.context, self.request, title)

The ProgressBar class above can take an optional view parameter if you want to customise the view that renders the progress bar further. You only have to include the progressbar macro in your custom view.

To update progress, you simply have to fire the appropriate event:

from import UpdateProgressEvent
from import ProgressState

for index in range(101):
    progress = ProgressState(self.request, index)

To see how the progress bar works, install the package and browse to the demo view eg.: http://localhost:8080/plone/@@collective.progressbar-demo


0.5 - 2009-09-18

  • Initial release

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.progressbar, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size collective.progressbar-0.5-py2.4.egg (10.7 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size collective.progressbar-0.5.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page