tracker issue : CF-3039365

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 78932:According to the docs, cfprogressbar interval is optional

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 07/20/2009

Components: AJAX, UI Components

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 243575

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 2

Problem:

According to the docs, cfprogressbar interval is optional. However, if I don't specify it, the code below doesn't move the progress bar.
Method:

<html>
<head>
<script>
	function init()
	{
		ColdFusion.ProgressBar.start("mycfb")
		writelog('ran')
	}

	function onfinish()
	{
		writelog('done')
	}
</script>
</head>

<body>
	<h2>Processing your stuff...</h2>

	<cfform name="mainform">
		<cfprogressbar name="mycfb" duration="5000"  width="300" oncomplete="onfinish" />
	</cfform>

	<cfset ajaxOnLoad("init")>

	</body>
</html>
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039365

External Customer Info:
External Company:  
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 07/20/2009

Attachments:

Comments:

+1 vote. Well-spotted. I guess there's a question as to whether this is a doc bug or a bug in the tag. I err towards the latter, although perhaps they removed the default because of the comment in the docs "Although this attribute is optional, specify it to prevent the bar from updating very frequently". However if it's required and not specified, CF should raise an exception I think. Something needs fixing, anyhow. -- Adam
Vote by External U.
23314 | November 10, 2011 06:59:38 PM GMT
This bug has been voted..
Vote by External U.
23315 | November 10, 2011 06:59:39 PM GMT