[Zope] Zope pdf's on the fly

Dennis Allison allison@sumeru.stanford.EDU
Mon, 7 Jul 2003 10:54:34 -0700 (PDT)


Oops...   You're right. The working version uses 

<form action="doit.pdf">

where doit.pdf is an External Procedure that does the pdf creation.

On Mon, 7 Jul 2003, Andreas Jung wrote:

> 
> 
> --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
>