Frederic Quin wrote:
> I wonder if it's possible to create temporary a python object in a
> dtml-let tag. If someone knows more about how to do this, please, help
> me...

<dtml-let myvar="['somevalue']">
  The first element of myvar is <dtml-var expr="myvar[0]">
</dtml-let>

In both the dtml-let and the dtml-var tags, the stuff between quotes is
Python.

Shane

_______________________________________________
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