[Zope] URL and list
Petr Knapek
petr.knapek@nextra.cz
19 Jun 2001 17:54:05 +0200
>>>>> 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>
No, this does't work. I can see it in REQUEST as:
l 'foo,bla'
and I need it as ['foo', 'bla']
AJ> ?
AJ> Andreas
AJ> ----- Original Message ----- From: "Petr Knapek"
AJ> <petr.knapek@nextra.cz> To: <zope@zope.org> Sent: Tuesday, June
AJ> 19, 2001 10:44 AM Subject: [Zope] URL and list
AJ> Hi Zopists,
AJ> I need to put a list attribute into URL and doesn't know the
AJ> correct syntax. When I tried it, was represented as string in
AJ> REQUEST.
AJ> Here is my code:
AJ> <dtml-let l="['foo', 'bla']"> <dtml-call
AJ> "RESPONSE.redirect(new_url+`l`)"> </dtml-let>
AJ> where new_url is defined above something like this:
AJ> 'https://any.url/method_name?ids='
AJ> Thank you for help, Petr
Petr