Since I have just started with Zope, I am doing ZPT straight and avoiding DTML when I can. Every now and then, I have to use it though. So I am wondering: is there a way to integrate a DMLT Document within a ZPT template, similar to how I'd use a macro in METAL? -- Martin F. Krafft Artificial Intelligence Laboratory Ph.D. Student Department of Information Technology Email: krafft@ifi.unizh.ch University of Zurich Tel: +41.(0)1.63-54323 Winterthurerstrasse 190 http://www.ifi.unizh.ch/~krafft/ CH-8057 Zurich, Switzerland NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc
--On Freitag, 31. Januar 2003 11:01 +0100 Martin F Krafft <krafft@ifi.unizh.ch> wrote:
Since I have just started with Zope, I am doing ZPT straight and avoiding DTML when I can. Every now and then, I have to use it though. So I am wondering: is there a way to integrate a DMLT Document within a ZPT template, similar to how I'd use a macro in METAL?
You can use <span tal:replace="structure here/<dtmldocument>" ?> if you just need to include the rendered content of the DTML document with id <dtmldocument>. -aj
also sprach Andreas Jung <lists@andreas-jung.com> [2003.01.31.1111 +0100]:
You can use <span tal:replace="structure here/<dtmldocument>" ?> if you just need to include the rendered content of the DTML document with id <dtmldocument>.
very cool! thanks! -- Martin F. Krafft Artificial Intelligence Laboratory Ph.D. Student Department of Information Technology Email: krafft@ifi.unizh.ch University of Zurich Tel: +41.(0)1.63-54323 Winterthurerstrasse 190 http://www.ifi.unizh.ch/~krafft/ CH-8057 Zurich, Switzerland NOTE: The pgp.net keyservers and their mirrors are broken! Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc
participants (2)
-
Andreas Jung -
Martin F Krafft