[Zope] dictionaries in DTML (was: no subject)
Chris McDonough
chrism@digicool.com
Thu, 04 May 2000 15:22:34 -0400
Dragomir,
Try
<dtml-call "D.update({'k':'value'})">
Dragomir Denev wrote:
>
> Hi everybody.
>
> Here is a problem:
> I have a dictionary variable named D and a key (in D) named K.
> I know I can do the following: <dtml-var "D['K']"> and so on, but
> how can I change the value of D['K'] in a dtml tag ( something like <dtml-call "D['K']=value">)?
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
--
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org