• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Returning a PDF Document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a PDF Document


  • Subject: Re: Returning a PDF Document
  • From: Dennis Gaastra <email@hidden>
  • Date: Thu, 21 Apr 2005 17:42:11 -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

I N N O V A T I O N   B Y   D E S I G N


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
References: 
 >Returning a PDF Document (From: Deirdre Saoirse Moen <email@hidden>)

  • Prev by Date: Re: Deployment on Mac Mini
  • Next by Date: Re: Returning a PDF Document
  • Previous by thread: Re: Returning a PDF Document
  • Next by thread: Re: Returning a PDF Document
  • Index(es):
    • Date
    • Thread