[Zope] URL and list

Casey Duncan cduncan@kaivo.com
Tue, 19 Jun 2001 10:25:27 -0600


Petr Knapek wrote:
> 
> >>>>> On Tue, 19 Jun 2001 10:59:55 -0400, "Andreas Jung" <andreas@andreas-jung.com> said:
> 
>     AJ> What about <dtml-let l="['foo', 'bla']"> <dtml-call
>     AJ> "RESPONSE.redirect(new_url+_.string.join(l,','))"> </dtml-let>
> 

Use marshalling to have zope make it back into a list for you:


<dtml-call expr="RESPONSE.redirect(new_url + '?l:tokens=' +
_.string.join(l, '+'))">

hth,
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>