handling PDF

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

handling PDF

Eugene Westerhof


Hi,
 
I am trying to make pdf files available through a (visualworks) seaside app by:
 
|doc|
 
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,
Eugene


Probeer Live.com: je eigen persoonlijke opstartpagina met alleen de dingen die jij belangrijk vindt op één plek. binnen één omgeving.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside