Doh - my fault... RTFM I think...

I think I misread the linked page. When unmarshalling the records, Zope will
only create a new record in the list if the current record already has the
given attribute. So, provided you always put the textboxes before the
checkboxes, it will always work.

Unless there are non-compliant browsers out there...

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+  

-----Original Message-----
From: Mayers, Philip J 
Sent: 18 January 2001 12:26
To: '[EMAIL PROTECTED]'
Subject: Data type coercion and "records"


*Now* I remember why I like Zope so much...

I'm using the ":records" to marshall a complex hierarchical form, and I'm a
little worried by this comment:

http://www.zope.org/Members/Zen/howto/FormVariableTypes

<snip>

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to