[Zope] How to update list from dtml?
Jonathan
dev101 at magma.ca
Fri Apr 14 11:18:01 EDT 2006
Try:
<dtml-call "foo.append(3.5)">
Jonathan
----- Original Message -----
From: "Jaroslav Lukesh" <lukesh at seznam.cz>
To: <zope at zope.org>
Sent: Friday, April 14, 2006 10:22 AM
Subject: [Zope] How to update list from dtml?
> Dear Zopistas,
>
>
> How to do in DTML something similar in python:
>
> foo[1] = 3.5
>
> In DTML this does not work:
>
> <dtml-call "REQUEST.set('foo[1]', 3.5)">
>
>
> Note, that I have list foo[,,,,,,,] already defined
>
> Many thanks,
>
> J. Lukesh
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list