[ZPT] passing a list to an url
Dieter Maurer
dieter@handshake.de
Tue, 24 Dec 2002 12:15:18 +0100
John Petter Kvalvik wrote at 2002-12-23 09:16 +0100:
> I have a form with a listbox with keywords. When submitting the form data,
> the selected keywords are passed as a list. I have a python script that
> handle the request before the result from a ZSQL method is presented in a
> page template. I have used batching for the results. My problem is that when
> the next batch is called, the list is converted to a string.
Someone reported about a "mkquery" function in the "ZTUtils" module.
I did not yet use it, but accordign to the message (--> Mailing list archives),
it will solve your problem.
An alternative: recreate the list by means of a sequence of
"Keywords:list=XXXX" parameters, one for each keyword "XXXX" in your list.
Dieter