PDF file download alert message [message #192525] |
Mon, 25 September 2006 23:25  |
Eclipse User |
|
|
|
Originally posted by: liyan.hu.treasury.qld.gov.au
Hi, my clients are using Acrobat Reader 5.0 and each time they run a
report in birt viewer to generate a PDF file will get an alert message
stating that "Some file can harm your computer. ......File
Name:BIRTReport11555 File Type: Adobe Acrobat Control for ActiveX
......Would you like to open the file or save it to your computer?"
followed with four buttons for "Save, Open, Cancel, More Info".
I have Acrobat Reader 7.0 in my PC and never get such an alert.
How can I get rid of the message for my clients and open the PDF file in
any version of Acrobat Reader straight way?
Many thanks.
|
|
|
|
|
|
Re: PDF file download alert message [message #194427 is a reply to message #193033] |
Fri, 06 October 2006 21:56  |
Eclipse User |
|
|
|
Hi Liyan,
I've removed my acrobat reader and installed it again .
veriosn is 5.1.
now, i'm not getting the alert message.
I've tried both versions of BIRT. 2.1.0 and 2.1.1.
both are working fine.
The only change i could see is the filename of the report.
In 2.1.0 it is some text.
In 2.1.1 it is the reportname.pdf
But findging problem when i have large data
thanks
--
Regards
Lavanya PinnamaReddy
"Liyan Hu" <liyan.hu@treasury.qld.gov.au> wrote in message
news:5700011b248f7171b8773bca5436b082$1@www.eclipse.org...
> Hi,Lavanya,
>
> I find that in the Birt 2.1 realease build, inside [BIRT_Project] /
> source /
>
org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/ecli pse/birt/report/
presentation
> /aggregation/layout/EnginFragment.java (revision1.14), in the line
>
response.setHeader("Content-Disposition","inline;filename= "+filename+"\"");
> has one missing quote(should be "inline;filename=\""+filename+"\""), which
> is fixed in later revisions. I'm not sure if this missing quote caused the
> IE's failure to reconigise pdf content type or the whole header
> "Content-Disposition" caused it. In Birt 2.0 which has not this header,
> there is no PDF Download alert message.
>
> I'm a newbie in Java and don't know how to compile just
> org.eclipse.birt.report.presentation.aggregation.layout.Engi nFrament.java
> and org.eclipse.birt.report.utility.ParameterAccessor.java and then plug
> in back to birt-viewer/WEB-INF/lib/viewerservlets.jar. Can you test it and
> let me know how to do it? thanks a lot.
>
|
|
|
Powered by
FUDForum. Page generated in 0.12226 seconds