Re: Returning a PDF Document
Re: Returning a PDF Document
- Subject: Re: Returning a PDF Document
- From: Dennis Gaastra <email@hidden>
- Date: Thu, 21 Apr 2005 17:46:13 -0700
We have the optimal solution to this problem in our PDFkit - by using
Direct Actions, caching, and browser detection for PDF presentation.
Yours sincerely,
Dennis Gaastra, M.B.A.(sfu.ca), B.Sc.(ubc.ca)
Senior Consultant,
RCMDEV Holdings.
www.rcmdev.com
www.rcmdev.com
(+1) 604.921.1333
On 21-Apr-05, at 5:05 PM, Deirdre Saoirse Moen wrote:
So, normally a WOHyperlink's action returns a WOComponent; for the same
page, it's null.
However, I'm clicking on a WOHyperlink which is linked to an action.
The
action's code will generate an XML file, transform it via xsl-fo to
PDF,
and I want to return the PDF. I'm not using ReportMill or anything
fancy
here, just vanilla WO, plus the Java tools to do the transformation.
So, my questions:
1) Do I need to wrap the PDF into a WOComponent? If so, can someone
point
me at an example?
2) I'd rather return a streamed PDF. Yes, I'll write a temp file, but I
don't want it to persist. I can't seem to find out how to do that,
either.
--
_Deirdre web: http://deirdre.net blog: http://deirdre.org/blog/
yarn: http://fuzzyorange.com cat's blog: http://fuzzyorange.com/vsd/
"Memes are a hoax! Pass it on!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden