[Zope] Zope pdf's on the fly

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Mon, 07 Jul 2003 19:42:26 +0200


--On Montag, 7. Juli 2003 10:31 Uhr -0700 Dennis Allison 
<allison@sumeru.stanford.EDU> wrote:

> Microsoft's IE uses non-standard techniques to determine the type of a
> file.  To bend it to our will, we've found that the generation program
> needs to be named with a '.pdf' extension.  This, of course, makes it a
> bit difficult to embed in a dtml call.  (As a form action, it works...)
>
> What I have is an external method that manages the interfact to HTMLDOC
> by building a html file, sending it to HTMLDOC, gathering the result, and
> returning it with appropriate headers to the client.
>
> If I use a form to set up parameters to the external method and
>
> 	<form action="doit.pdf()">

doit.pdf() as action parameter looks extremely odd. This will never work.

-aj