[Seaside] handling PDF

Eugene Westerhof eugenewesterhof at hotmail.com
Sun Feb 11 20:17:35 UTC 2007

I am trying to make pdf files available through a (visualworks) seaside app by:
doc := Seaside.WACachedDocument fileName: 'apdffile.pdf'.(html anchor) 
     url: (html context urlForDocument: doc 
                               mimeType: 'application/pdf'  
                               fileName: 'apdffile.pdf'); 
     with: 'Click me'                
This doesn't however handle the pdf right. I suspect I need to do something in
SeasidePlatformSupport class>>mimeDocumentOfType: from: 
but what? How to handle a pdf file? Any suggestions? Thank you
kind regards,
Leef je uit: ontwerp je startpagina precies zoals jij het wil hebben op Live.nl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070211/18afd1ee/attachment.htm

More information about the Seaside mailing list