[Zope] URL and list
Andreas Jung
Andreas Jung" <andreas@andreas-jung.com
Tue, 19 Jun 2001 10:59:55 -0400
What about
<dtml-let l=3D"['foo', 'bla']">
<dtml-call "RESPONSE.redirect(new_url+_.string.join(l,','))">
</dtml-let>
?
Andreas
----- Original Message -----
From: "Petr Knapek" <petr.knapek@nextra.cz>
To: <zope@zope.org>
Sent: Tuesday, June 19, 2001 10:44 AM
Subject: [Zope] URL and list
Hi Zopists,
I need to put a list attribute into URL and doesn't know the correct
syntax. When I tried it, was represented as string in REQUEST.
Here is my code:
<dtml-let l=3D"['foo', 'bla']">
<dtml-call "RESPONSE.redirect(new_url+`l`)">
</dtml-let>
where new_url is defined above something like this:
'https://any.url/method_name?ids=3D'
Thank you for help, Petr
--
Petr Kn=E1pek
Network Development
NEXTRA Czech Republic s.r.o. http://www.nextra.cz/
V Celnici 10 / CZ - 117 21 Praha 1 / Czech Republic
Tel: +420/2/96 355 111 / Mobile: +420/604-202 611
E-Mail: petr.knapek@nextra.com
Contact address:
Hlinky 114 / CZ - 603 00 Brno / Czech Republic
Tel: +420/5/43 554 150 / FAX: +420/5/43 554 214
see Disclaimer http://www.nextra.cz/disclaimer/
_______________________________________________
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 )