[Zope] Strange behavior of document_src

Sergio Fogel sfogel@elagora.com
Tue, 16 Jan 2001 18:19:49 -0300


I want to display the source of a DTML document inside a textarea (as in
Zope's DTML editing screen).

If I do: <dtml-var "doc.document_src()" >
It works OK, but if I try
<dtml-var "_['doc'].document_src()" >
it tries to evaluate doc, and gives me an error (some of the vars are not
defined in this context).

Am I missing something?

Sergio



Sergio Fogel