[Zope] why is this?
Giuseppe Masili
g.masili@mixad.it
Thu, 08 Mar 2001 11:01:16 +0100
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 )