cuiod-tec Jens Gelhaar writes:
 > I need a better way to render a DTMLDocument and store the result in
 > variable than
 > <dtml-let variable="_['documentname']">
 > but I do not like the style, it looks clumsy. Is there an another way? I
 > would think something like documentname(...), but the acquisition does not
 > work.
Usually, you simply use

        <dtml-let variable=documentname>

You need the "_[...]" only, if either:

  *  "..." is not a valid Python name

  *  "..." is a Python expression


Dieter

_______________________________________________
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