[Zope] passing a list through an URL parameter

Erik Myllymaki erik@pacific-shores.com
Fri, 04 Jan 2002 21:55:40 -0800


I use the following in a form to make a list of checked checkboxes:

<dtml-in get_employee_names>

<input type=checkbox name=employee_list:list:int value="<dtml-var 
employee_number null=0>" checked > <dtml-var employee_name null="">

</dtml-in>

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.

Any ideas?

Thanks,

-- 
--

Erik Myllymaki
erik@pacific-shores.com