[Zope] how: passing a list as a hidden variable from doc to doc

Shalabh Chaturvedi shalabh@pspl.co.in
Fri, 5 May 2000 18:25:22 +0530


Heiko Stoermer wrote:
> Hello Zopistas,

   <introduction to problem snipped>

> So I need to pass the list of filenames through that darn "ask"
> document.
> There I did something like:
> <input type=hidden name=del_list:list value="<dtml-var
> "REQUEST['del_list']">">
> this renders to:
> <input type=hidden name=del_list:list value="['file1', 'file2',
> 'file3']">

Instead of the above, try this:

<inputy type=hidden name=del_list:list value=file1>
<inputy type=hidden name=del_list:list value=file2>
<inputy type=hidden name=del_list:list value=file3>
..and so on.


Hope this helps,
Shalabh