The problem there is that I would have to use cfhttp to make an event
call to generate the output when making the pdf from the remote
script, even if I then wrapped it in a cfsavecontent. This is because
it is a composite view, with the layout being passed to the body via
the contentArg attribute, and it references output data passed to it
via the event object. I don't suppose there is a way to call an event
from an external script without using cfhttp? ('m guessing not, but I
thought I'd ask) If not, I'll just have to stick to the cfhttp.
On Dec 21, 9:34 am, Brian Klaas <[email protected]> wrote:
> Why not wrap the generated output in a <cfsavecontent> tag and then pass a
> URL variable to the same event in Mach-II? If event.pdfFormat exists, you
> output a PDF file instead of HTML. If event.pdfFormat doesn't exist, you
> output plain old HTML.
>
> brian
--
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/