Sign in to follow this  
Roeland

How to set basepath.

Recommended Posts

Hi,
I've some trouble using the XT suite with dojo.

 

I would to create a wrapper for fusioncharts using dojo.

 

I'm able to successfully load the 'fusioncharts.js' by using dojo.require.

 

dojo.require('fusioncharts.widget.lib.fusioncharts');

 

Unfortunately rendering of the chart fails because the fusioncharts.js is requesting the 'fusioncharts.charts.js' in the root directory of my website.

I would like to keep the files within my dojo widget and don't want to put the files in the root directory of my website.

 

Is it possible to set the basepath for the javascript files?

Is there someone who can point me in the right direction?

 

Thanks!

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