[Zope] Records marshalling: trying to including a list within a record

Rich and Lea98 richandlea98@yahoo.com
Tue, 13 Mar 2001 12:22:42 -0000


Hi,

Can anyone give me ideas on solving the following problem...

Im trying to pass information in a form using :records. One item in 
each record is a list I wish to pass as a list and use <dtml-in bob> 
to display the list contents.

I have tried all sorts of variations...

    <input type="hidden" name="my_record.bob:records:list" 
value="<dtml-in bob><dtml-var sequence-item></dtml-in>">

and...

    <input type="hidden" name="my_record.bob:list:records" 
value="<dtml-in bob><dtml-var sequence-item></dtml-in>">

Anything I try just places the whole of "bob" as one item in a list. 
eg
if bob was ['this ','is ','bob'].
The list in the record passed using the form would be ['this is bob'].

Thanks for any ideas in advance.

Richard