Returning a PDF Document
Returning a PDF Document
- Subject: Returning a PDF Document
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Thu, 21 Apr 2005 17:05:22 -0700 (PDT)
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:
This email sent to email@hidden