Sign in to follow this  
Arindam

Using SWFObject 2.0 with FusionMaps

Recommended Posts

Thanks for the reply.

 

I am using the same thing and it is running on my simple HTML but not working on my application's jsp.

 

 

 

Pleaes let me know why this is not working on my jsp page????

 

 

 

Thanks

 

Mahesh

Share this post


Link to post
Share on other sites

Hi Mahesh,

Please let us know the things in details that you are facing.

Meahwhile, please check the path of the JS file, SWF files and XML files. Please also see whether you can execute any other JavaScript functions and please see if the SWFObject has beeb properly loaded.

You can also try accessing the site from other machines.

Share this post


Link to post
Share on other sites

Hi Sudipto,

 

It is giving me "Error in loading data" error. Means swfobject.js is working but the problem seems to be in the way data is getting fetched from xml.

 

 

 

Thanks

 

Mahesh

Share this post


Link to post
Share on other sites

Hi Mahesh,

"Error in Loading Data" primarily means that you are providing wrong path of the XML.

Please provide correct path(URL) to XML.

** Please note that you can NOT provide absolute path (URL). We have blocked taking absolute path to stop XSS attacks. Please use relative path. Hence, please do not provide any URL like "http://....". Only "data/myXMLfolder/xml.xml" (like this).

The rule that we are following while blocking absolute url is 1. any string having a : character. So, no colon character in the XML path (dataURL) that you are providing.

If this does not solve the issue, then set the debugMode to 1 so that the chart can show up the debug window. See whether a dataURL (i.e. URL to an XML file) ahs been provided to the chart). The debug window will report this.

Hopefully, the path to the dataURL is the issue.

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
Sign in to follow this