cfprogressbar

Creates progressbar

 <cfprogressbar name="">

 cfprogressbar(name="");

This tag requires Adobe ColdFusion. Not supported on Lucee, OpenBD, etc.

Discouraged: The use of tags generating UI is generally discouraged by the CFML community. See: https://static.raymondcamden.com/cfuitherightway/cfprogressbar/index.html

cfprogressbar Attribute Reference

width string

Width in pixel. Default='300'

height string

Height in pixel.

bind string

A bind expression specifying a client JavaScript function or server CFC that the control calls to get progress information each time the period defined by the
interval attribute elapses. You cannot use this attribute with a duration attribute.

oncomplete string

This function will be called by CF once work is done. This can be used to reset status of progress bar text or enabling the button, which might be in disable mode while task was under progress or something more.

name string
Required

Name of the progressBar.

duration string

If callback is not defined then based on this value, ColdFusion will decide percentage work done. One of the callback or totaltime attribute needs to be defined.

interval string

Time interval on which progressbar will keep on updating.

style string

The following are the supported styles:•
bgcolor: The background color for the progress bar. A hexadecimal value without “#” prefixed.
textcolor: Text color on progress bar.
progresscolor: Color used to indicate the progress
Values:
  • bgcolor
  • progresscolor
  • textcolor

autoDisplay string

Set to true to display the progress bar.
Values:
  • true
  • false

onError string

The JavaScript function to run on an error condition. The error can be a network error or server-side error.

Fork me on GitHub