janiesprenger Posted May 12, 2016 Share Posted May 12, 2016 Using iReport 5.1 community edition of JasperSoftI have an HTML component on an iReport. The HTML renders a D3 sankey chart. I have added the sankey.js, jquery.js, and raphael.js files to the decorator.jsp file and placed the files in the scripts folder on the web server. I also have them on the local drive where I'm running iReport. When I run the iReport file locally, the html renders correctly - note that I hardcoded the directory where the files are on the local machine.What I don't know how to do is to reference the src in the html so that when the file runs jasperserver, the code can find the function in the .js files.Does anyone know?Something like: src="raphael.js" type="text/javascript"But what would the path to the js file be? Link to comment Share on other sites More sharing options...
hozawa Posted May 13, 2016 Share Posted May 13, 2016 iReport is no longer supported as is HTML component. What you are trying to do can be easily done using Jaspersoft Studio 6.2.2 and Custom Visualization component. Link to comment Share on other sites More sharing options...
janiesprenger Posted May 16, 2016 Author Share Posted May 16, 2016 I understand there are new versions of iReport/JasperStudio, I just don't have the option to upgrade the entire architecture right now. So am wondering if anyone has done this in the past and can point me in the right direction. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now