Skip to main content



      Home
Home » Archived » BIRT » pass parameter from html to pdf
pass parameter from html to pdf [message #149192] Wed, 29 March 2006 03:01 Go to next message
Eclipse UserFriend
Originally posted by: almasalki.hotmail.com

hi for all

I build the parametrized report and I browse it by using web
viewer(frameset format) and i add link to this report to allow the user to
display the report as pdf.
now because the report is parametrized,how can I get the values from the
parameter pop-up that are used to run the html report into a URL string
for generating a PDF(by click on the link).

thanks in advance
Re: pass parameter from html to pdf [message #149308 is a reply to message #149192] Wed, 29 March 2006 12:22 Go to previous messageGo to next message
Eclipse UserFriend
I made a change to the Web Viewer which allows that. Download the zip
attached to the bug report and update your files. This allows you to:

Generate the report using /run? both in PDF and HTML (but printable form)

https://bugs.eclipse.org/bugs/attachment.cgi?id=37148




Abo Alnnor wrote:

> hi for all

> I build the parametrized report and I browse it by using web
> viewer(frameset format) and i add link to this report to allow the user to
> display the report as pdf.
> now because the report is parametrized,how can I get the values from the
> parameter pop-up that are used to run the html report into a URL string
> for generating a PDF(by click on the link).

> thanks in advance
Re: pass parameter from html to pdf [message #149369 is a reply to message #149308] Thu, 30 March 2006 04:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: almasalki.hotmail.com

when I replace these jsp files,the use frameset format to run the
parametrized report, I have alot of exceptions in generate Servlet
can you help me
and I hope, you understood my first question correctly,so let me explain
I design the report and put hyperlink in the bottom of it which allow me
to call the other address to generate the pdf format, now when I run the
report by using (frameset format) and use the pop-up window to enter the
paraemters and regenerate the report, I want to pass these parameters on
the link to generate the report as pdf format on my new parameter.
Re: pass parameter from html to pdf [message #150127 is a reply to message #149369] Sat, 01 April 2006 12:14 Go to previous messageGo to next message
Eclipse UserFriend
I don't know about the link at the bottom of your report. There is another
implementation on this newsgroup in earlier threads. Check it out, it
might solve it.
Re: pass parameter from html to pdf [message #150503 is a reply to message #150127] Mon, 03 April 2006 23:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: praful.ascindia.com

Etienne wrote:

> I don't know about the link at the bottom of your report. There is another
> implementation on this newsgroup in earlier threads. Check it out, it
> might solve it.
Hi
Hi Abo

I have implemented the same n its working for me.

Find the jsp code below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>BIRT Reports in JSP</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200">
<FRAME src="Frame1.html">
<FRAME src="Frame1.html">
</FRAMESET>
<FRAME
src=" run?__report=F:/eclipse/workspace/BIRT/etc/BIRT_Equity_Secto rs.rptdesign&AccountID=299&__format=html ">

</FRAMESET>
</HTML>

Thanks
Praful
Re: pass parameter from html to pdf [message #150511 is a reply to message #149369] Mon, 03 April 2006 23:53 Go to previous message
Eclipse UserFriend
Originally posted by: praful.ascindia.com

Hi Abo

I tried the same, n it works for me

Following is the JSP code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>BIRT Reports in JSP</TITLE>
</HEAD>
<FRAMESET cols="20%, 80%">
<FRAMESET rows="100, 200">
<FRAME src="Frame1.html">
<FRAME src="Frame1.html">
</FRAMESET>
<FRAME
src=" run?__report=F:/eclipse/workspace/BIRT/etc/BIRT_Equity_Secto rs.rptdesign&AccountID=299&__format=html ">

</FRAMESET>
</HTML>

Thanks
Praful
Previous Topic:Birt Chart Serializer and EMF
Next Topic:BIRT - extremly slow PDF rendering
Goto Forum:
  


Current Time: Wed Jul 23 02:34:42 EDT 2025

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

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

Back to the top