On Tue, 16 Jan 2001, Sergio Fogel wrote:

> 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).

It is behavior of _[....], not of document_src.
_[....] syntax causes rendering of selected object.


| `long long long' is too long for GCC |

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to