[Zope-dev] Marshalling of records in REQUEST.form
Dieter Maurer
dieter@handshake.de
Thu, 14 Mar 2002 21:26:49 +0100
Jean Jordaan writes:
> I've just noticed this. In my form I have, for example:
>
> <input name='HostType:list' value='Sequential'>
> <input name='properties_to_show.ContactPerson:list' value='ContactName'>
> <input name='properties_to_show.ContactPerson:list' value='DirectEmail'>
> <input name='properties_to_show.Customer:list' value='CustomerName'>
> <input name='properties_to_show.Customer:list' value='CustomerStatus'>
>
> When I log this after submission, I see:
>
> {'HostType': ['Sequential'], 'properties_to_show': ContactPerson:
> ['ContactName', 'DirectEmail'], Customer: ['CustomerName',
> 'CustomerStatus']}
Where are you looking at?
When I look at "REQUEST.form", I see:
{
'P.N' : ['N1', 'N2'],
'P.C' : ['C1', 'C2']
}
(with shortened names). I.e. I see what I expect to see.
My Zope is 2.5.0 (CVS version from end of Jan 2002).
Dieter