Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Printing with BIRT Web Viewer and Tomcat
marinaO
Hello,
i developed a dashboard with JavaScript. This dashboard consists of iframes. Every iframe shows a chart.
The charts are:
* BIRT charts: shown with tomcat and birt web viewer: http:/localhost/8080/viewer/preview?__report=chart.rptdesign
* a Thermometer developed with js. Now i want to combine this thermometer with datas in BIRT. So i can't integrate the js-thermometer into the js-developed (there is no data connection), but i was forced to integrate the thermometer as html text element in BIRT.
So. If i open eclipse/BIRT and click "view report as html" i can see my thermometer working with the datas. all well. If i click "view report in web viewer" there's only a blank place. If i open firefox and run my dashboard, the iframe with the thermometer also stay blank (cause tomcat uses also the birt web viewer).
What can i do? I saw that the BIRT web viewer is able to print as html. Could this be the solution? How could i do printing?
I tried alredy without succes:
http:/localhost/8080/viewer/preview?__report=thermometer.rptdesign&__format=HTML
http:/localhost/8080/viewer/output?__report=thermometer.rptdesign&__format=HTML
http:/localhost/8080/viewer/print?__report=thermometer.rptdesign&__format=HTML
Best regards Marina
Find more posts tagged with
Comments
mwilliams
So, it works in Eclipse only in HTML output and doesn't work on Tomcat at all? Am I understanding correctly? Is all the js done in BIRT? Or do you have an external file? In your url, have you tried the "run" mapping?
localhost:8080/viewer/run?__...
Any way you can attach a sample that I can run?