[Zope] why is this?

Cyril Elkaim cyril.elkaim@free.fr
Thu, 8 Mar 2001 09:32:45 +0100


Joh Johannsen wrote:

>But this doesn't:

>  <dtml-call "REQUEST.set('asplit',_.string.split(bigstring,'&'))">
>  <dtml-var asplit[0]>

>Why is that?  What does work for list access?

asplit[0] doesn't exist as a name in DTML space; use

<dtml-var "asplit[0]"> as a python expression.

Not tested but should work

Cyril Elkaim