troubleshooting Question

Coldfusion 8 - chchart not working using Coldfusion.navigate

Avatar of BuMp
BuMp asked on
Web ServersColdFusion Language
3 Comments1 Solution1767 ViewsLast Modified:
After upgrading to CF8 and changing from frames to cflayout I know cant use cfgraph.  I've simplified the code to show what happens.  First page (home.cfm) has cflayout areas and one of them has a link that navigates to chart.cfm targeting a specifif layout area.  If I run chart.cfm by itself the chart shows up, but with the Coldfusion.navigate link, I get a generic error "Error processing javascript in markup".  It seems cfchart doesnt work when linked to via Coldfusion.navigate.

Here's the code:
home.cfm:
<cflayout type="border" name="layoutborder">
	<cflayoutarea name="Center" position="center">
	<a href="#" onclick="ColdFusion.navigate('chart.cfm','Center')">chart</a>
	</cflayoutarea>
</cflayout>
 
chart.cfm:
<cfchart>
<cfchartseries type="line" serieslabel="2008">
	<cfchartdata item="January" value="100">		
</cfchartseries> 
</cfchart>
ASKER CERTIFIED SOLUTION
Scott Bennett
Manager Technology

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros