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


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

Reply via email to