IDForums Report post Posted September 22, 2009 (edited) Hi, I am getting this error "FusionChartsExportObject cannot be resolved" when I am using the following code in my JSP page. var myExportComponent = new FusionChartsExportObject("fcBatchExporter", "Files/FCExporter.swf"); myExportComponent.Render("fcexpDiv"); I have included < script language="JavaScript" src="Files/FusionChartsExportComponent.js">< /script> in my JSP page. What am I doing wrong? Thanks, Mona. Edited September 22, 2009 by Guest Share this post Link to post Share on other sites
shamasis Report post Posted September 23, 2009 ... Greetings, Have you included FusionCharts.js as well. If yes, make sure it is included before FusionCHartsExportComponent.js If things still doesn't work, give us a live URL to test or a scaled-down version of your work. Share this post Link to post Share on other sites
IDForums Report post Posted September 23, 2009 Hi, I included FusionCharts.js before FusionChartsExportComponent.js. But din't help. Please find the attached index.jsp code. Thanks, Mona. index.jsp.txt Share this post Link to post Share on other sites
IDForums Report post Posted September 25, 2009 I am following up to see if anybody got a chance to provide me a solution. Thanks, Mona. Share this post Link to post Share on other sites
srividya_sharma Report post Posted September 26, 2009 Hi Mona, Please try changing <jsp:param name="registerWithJS" value="false" /> to <jsp:param name="registerWithJS" value="true" /> Srividya Share this post Link to post Share on other sites
IDForums Report post Posted September 28, 2009 (edited) Hi Srividya, I changed my code as per your suggestion but no luck. I am still getting that error: "FusionChartsExportObject cannot be resolved to a type". Is it because I am using a JSP page instead of HTML? -Mona. Edited September 28, 2009 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted September 30, 2009 (edited) Hi Mona, Can you please post the html from view source as an attachment? Also, Please give us a screenshot of your directory structure. Srividya Edited September 30, 2009 by Guest Share this post Link to post Share on other sites
IDForums Report post Posted September 30, 2009 Hi Srividya, Please find the attachments for folder structure and JSP page source code. Thanks, Mona. JSP-Source.txt Share this post Link to post Share on other sites
Guest Madhumita Report post Posted October 1, 2009 (edited) Hi Mona, I checked the attachments. The problem arouse because you are using FusionCharts Version 3.0.7. Export component requires FusionCharts version 3.1 or higher. Please upgrade your FusionCharts Version to 3.1 or higher which is free of cost. Refer to the link below for upgradation: http://www.fusioncharts.com/puc/ When you are facing some errors while exporting the charts, you can consider setting the ExportComponent debug mode to 'true'. You can enable debugMode globally for all FusionChartsExportObject in a page by using the code below: FusionChartsExportObject.defaultParameters.debugMode = true; After you've enabled debugMode, FusionChartsExportObject will halt at every error and let you know of it as a JavaScript alert message. Awaiting your reply. Edited October 1, 2009 by Guest Share this post Link to post Share on other sites
IDForums Report post Posted October 1, 2009 (edited) Hi, I upgraded my Fusioncharts version to v3.1 but the problem persists. Attached are the source code and error message documents. Please note that I am using export handlers in a JSP page. Where is FusionChartsExportObject() function defined? Looking for a solution. Thanks, Mona sourceCode.txt Edited October 1, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 4, 2009 Hi, Did you also try putting <script language="JavaScript" src="Files/PowerMap.js"></script> <script language="JavaScript" src="Files/FusionMaps.js"></script> above <script language="JavaScript" src="Files/FusionChartsExportComponent.js"></script> ? Could you please try if not done so? Also please use FusionMaps.js instead of PowerMap.js because both are same.While PowerMap.js is a very old version. [ FusionMaps was called PowerMaps then but now it is FusionMaps and its JavaScript wrapper is also FusionMaps.js which you are using.] Share this post Link to post Share on other sites