8 Mar
2001
8 Mar
'01
10:01 a.m.
other example <dtml-var "_.string.split(bigstring,'&')[0]"> AdeL irc.debian.org #zope-it Joh Johannsen wrote:
This works:
<dtml-call "REQUEST.set('asplit',_.string.split(bigstring,'&'))"> <dtml-call "REQUEST.set('aname',asplit[0])"> <dtml-var aname>
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?
Regards,
JJ
_______________________________________________ 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 )