cfprogressbar

Creates progressbar

 <cfprogressbar name="">

 cfprogressbar(name="");

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

cfprogressbar Attribute Reference

width

Width in pixel. Default='300'

height

Height in pixel.

bind

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

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
Required

Name of the progressBar.

duration

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

Time interval on which progressbar will keep on updating.

style

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

Set to true to display the progress bar.

onError

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

Fork me on GitHub