sahayaraj123

Nothing happens after the capturing (Export)

Recommended Posts

Hi i am using fusion charts v3.0

 

 

 

I have placed the appropriate(fs) jsps in /jsp directory of my web application.

 

 

 

i have modified the fusioncharts_export.properties

 

 

 

RESOURCEPATH=jsp/

 

 

 

 

 

I too have included the fusioncharts_export.properties in the classes folder of the web application.

 

 

 

i have added the following attributes to my fs chart's xml.

 

 

 

exportEnabled='1' exportAtClient='1' exportFileName='CEM4Mobile' exportAction='download' exportHandler='http://localhost:8080/charts/jsp/FCExporter.jsp'

 

 

 

I have also added the js function for exporting.

 

 

 

the capturing occurs but nothing happes after that.

 

 

 

 

 

Attachment1000.aspx

 

 

 

 

 

I found a java script error in FusionChartsExportComponent.js

 

 

 

reference to undefined property a.parameters.exportParameters.triggerOrdinal

post-4409-128441572364_thumb.jpg

Edited by Guest

Share this post


Link to post
Share on other sites

Hi

Are you trying to export the chart on the client side or server side?

You would need the FusionChartsExportComponent.js for the client side export, whereas the FCExporter.jsp and other jsps are for server side export.

If you want to use the server side export: ( in this case, exportAtClient attribute should not be 1)

The path you are using seems to be incorrect.

exportHandler attribute is the path to the jsp file which handles the export after capturing.

exportHandler='/jsp/FCExporter.jsp'

In fusioncharts_export.properties, RESOURCEPATH  should be relative to Web application root, please start with a forward slash

RESOURCEPATH=/jsp/

Hope this helps!:)

Edited by Guest

Share this post


Link to post
Share on other sites

Thanks Your reply really worked for me, with a minor alteration :)

 

 

 

Since i am using the charts with in portlets the context path also has to be given

 

 

 

exportHandler='/charts/jsp/FCExporter.jsp'

 

 

 

where 'charts' is my context path of the portlet.:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now