cfprogressbar

Creates progressbar

 <cfprogressbar name="">

 cfprogressbar(name="");

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

Attribute Reference for the cfprogressbar tag

width

Required: No
Width in pixel. Default='300'

height

Required: No
Height in pixel.

bind

Required: No
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

Required: No
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: Yes
Name of the progressBar.

duration

Required: No
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

Required: No
Time interval on which progressbar will keep on updating.

style

Required: No
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

Required: No
Set to true to display the progress bar.

onError

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


Fork me on GitHub