[ZPT] mixing zpt and dtml

Evan Simpson evan@digicool.com
Wed, 28 Mar 2001 15:47:06 -0500


From: "R. David Murray " <bitz@bitdance.com>
> My first question is, how do I mix dtml and zpt?  It looks like I can't
> put dtml calls in a template (reasonable enough), but I also don't seem
> to be able to call a DTML method and get a useful result.  The name
> space doesn't seem to be getting set up correctly.

Yes, DTML Methods will be called with an empty namespace.  For now, the only
way around this is to replace calls like "here/method" with
"python:here.method(here, request)".

What do you mean by "put dtml calls in a template"?

Cheers,

Evan @ digicool