[Zope] Handling lists in requests?

Thomas Weiner weiner@tu-harburg.de
Wed, 23 Jun 1999 22:36:02 +0100


Hi,

is there a way to handle lists in requests properly?

For Example:

I have a form getting a list containing a few 'inner' lists from an
external method 'ldif' (maybe that's already ugly).
I want to give this list-construct via a request to an action form.

<FORM action="show_it" method="post">
<!--#call "REQUEST.set('adr_list',ldif(filename))"-->
<input type = "hidden" name="adr_list" value="<!--#var adr_list-->">
<!--#in adr_list sort-->
  doing some stuff
<!--#/in adr_list sort-->

The <!--#in adr_list--> action works fine, but when trying the same
<!--#in adr_list--> in 'show_it' I receive an Error:

Error type:  InError
 Error value: Strings are not allowed as input to the in tag.

How should I handle this?

thanks
Thomas
-- 
fon: ++49 (0)40 42878 3781
fax: ++49 (0)40 42878 2728