[Zope] passing a list through an URL parameter

Dieter Maurer dieter@handshake.de
Sun, 6 Jan 2002 19:46:57 +0100


Erik Myllymaki writes:
 > ...
 > It works fine passing the employee_list on to page1 annd used in a ZSQl 
 > method. The URL of that request looks like this:
 > 
 > http://192.168.1.2:9090/page1?employee_list%3Alist%3Aint=78051&employee_list%3Alist%3Aint=77979
 > 
 > But I want to pass employee_list through an URL to another page:
 > 
 > <a href="page2?employee_list=<dtml-var employee_list url_quote>">go to 
 > next page</a>
 > 
 > It generates an URL like this:
 > 
 > http://192.168.1.2:9090/page2?employee_list=%5b78051,%2077979
 > 
 > that doesn't seem to work.
Use "dtml-in" (or a Python Script) to generate the URL

   http://192.168.1.2:9090/page2?employee_list%3Alist%3Aint=78051&employee_list%3Alist%3Aint=77979


Dieter