Skip to main content



      Home
Home » Archived » BIRT » Saving an HTML report for later web viewing
Saving an HTML report for later web viewing [message #262903] Fri, 07 December 2007 08:43 Go to next message
Eclipse UserFriend
I have a web page that is currently using the birt-viewer application to
show an HTML report. Of course this dynamically recreates the report each
time the web page is accessed.

How do I run the report one, save as an HTML page, and then load into a
web page?
Re: Saving an HTML report for later web viewing [message #262909 is a reply to message #262903] Fri, 07 December 2007 10:10 Go to previous messageGo to next message
Eclipse UserFriend
You would read your URL as follows:

URL url = new URL("http://localhost/viewer/run?__report=...");
URLConnection connection = url.openConnection();
InputStream in = new DataInputStream(url.getInputStream());
....

Snjeza

Rob Scott wrote:
> I have a web page that is currently using the birt-viewer application to
> show an HTML report. Of course this dynamically recreates the report each
> time the web page is accessed.
>
> How do I run the report one, save as an HTML page, and then load into a
> web page?
Re: Saving an HTML report for later web viewing [message #262998 is a reply to message #262909] Mon, 10 December 2007 07:13 Go to previous messageGo to next message
Eclipse UserFriend
What you are doing is effectively saving the source of the generated
report?

I think that does not work. The problem is that the viewer generates
DHTML with DIVs for the animated loading bar thing and dynamically
displays the report in another DIV and so on.

All I want is straight HTML code.
Re: Saving an HTML report for later web viewing [message #263006 is a reply to message #262998] Mon, 10 December 2007 09:56 Go to previous messageGo to next message
Eclipse UserFriend
Instead of "run" you can use "preview"
http://localhost/viewer/prevuew?__report=...

Malte

Rob Scott wrote:
> What you are doing is effectively saving the source of the generated
> report?
>
> I think that does not work. The problem is that the viewer generates
> DHTML with DIVs for the animated loading bar thing and dynamically
> displays the report in another DIV and so on.
>
> All I want is straight HTML code.
>
>
Re: Saving an HTML report for later web viewing [message #263128 is a reply to message #263006] Wed, 12 December 2007 09:05 Go to previous messageGo to next message
Eclipse UserFriend
Marvelous!

Are these things documented anywhere?
Re: Saving an HTML report for later web viewing [message #263134 is a reply to message #263128] Wed, 12 December 2007 09:47 Go to previous message
Eclipse UserFriend
Here you can find some informations

http://www.eclipse.org/birt/phoenix/deploy/viewerUsage2.2.ph p

Rob Scott wrote:
> Marvelous!
>
> Are these things documented anywhere?
>
>
Previous Topic:Birt in a java application
Next Topic:BIRT tool - deployment in ear file
Goto Forum:
  


Current Time: Wed Jun 25 19:34:45 EDT 2025

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

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

Back to the top