Try:

<dtml-call "foo.append(3.5)">


Jonathan


----- Original Message ----- From: "Jaroslav Lukesh" <[EMAIL PROTECTED]>
To: <zope@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@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 )

_______________________________________________
Zope maillist  -  Zope@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 )

Reply via email to