On Jan 30, 2015, at 2:57 PM, Ray Kiddy <[email protected]> wrote:

> I am using the apache pdfbox code to generate a PDF file dynamically. I
> was setting the MIME type of the response and the user was seeing an
> attachment-open dialog from their browser.

[...]

> Any ideas? :-) I do love a puzzle.

The cheap solution is to place the PDF in a inline frame. You can then set the 
title tag in that HTML page.
Looking at the window.open() method, it has no option to set the title (name is 
not the same as title).

I wonder if you can pre-open an window with a target name that has HTML with a 
title tag.  Then issue another window.open() targeting that pre-opened window 
and load the PDF. It would probably overwrite the window title, though.

kib

"Success is not final, failure is not fatal: it is the courage to continue that 
counts."
Winston Churchill

Klaus Berkling
www.berkling.us | @kiberkli | Photography



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to