Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Printing with BIRT Web Viewer and Tomcat(HTML Text Element print)
Printing with BIRT Web Viewer and Tomcat [message #1043500] Wed, 17 April 2013 19:52 Go to next message
Marina Orth is currently offline Marina Orth
Messages: 39
Registered: September 2012
Member
Hello,

i developed a dashboard with JavaScript. This dashboard consists of iframes. Every iframe shows a chart.

The charts are:
a) BIRT charts: shown with tomcat and birt web viewer: http:/localhost/8080/viewer/preview?__report=chart.rptdesign

b) 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
Re: Printing with BIRT Web Viewer and Tomcat [message #1044159 is a reply to message #1043500] Thu, 18 April 2013 15:01 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1639
Registered: July 2009
Senior Member

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?


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:outer table row value
Next Topic:NullPointerException in jar from Eclipse
Goto Forum:
  


Current Time: Thu Oct 23 02:33:01 GMT 2014

Powered by FUDForum. Page generated in 0.02756 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software