I'm calling this external method through a <dtml-var "gerar_tce_pdf()"> tag, inside a DTML DOCUMENT.
Um? What else is that method returning?
I'd suggest you call getrarTCE directly by URL, check you're setting the correct content-type and maybe set a content disposition too...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
