<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR><BR>Hi,<BR>
<BR>
I am trying to make pdf files available through a (visualworks) seaside app by:<BR>
<BR>
|doc|<BR>
<BR>
doc := Seaside.WACachedDocument fileName: 'apdffile.pdf'.<BR>(html anchor) <BR>
<P dir=ltr style="MARGIN-RIGHT: 0px"> url: (html context urlForDocument: doc </P>
mimeType: 'application/pdf' <BR>
fileName: 'apdffile.pdf'); <BR>
with: 'Click me' <BR>
<BR>
This doesn't however handle the pdf right. I suspect I need to do something in<BR>
SeasidePlatformSupport class>>mimeDocumentOfType: from: <BR>
<BR>
but what? How to handle a pdf file? Any suggestions? Thank you<BR>
<BR>
kind regards,<BR>
Eugene<BR><br /><hr />Probeer Live.com: je eigen persoonlijke opstartpagina met alleen de dingen die jij belangrijk vindt op één plek. <a href='http://www.live.com/getstarted' target='_new'>binnen één omgeving.</a></body>
</html>