Re: [Zope3-Users] Object Widgets

2006-06-01 Thread Stephan Richter
On Tuesday 18 April 2006 10:44, Marco Mariani wrote: Should I set form_fields['photo'].custom_widget ? To what? You have several choices, though this is a good one. I am not sure that there is an ImageWidget, but I think there is a file one. In one of my latest projects, we wrote some custom

Re: [Zope3-Users] object widgets, persistency

2005-05-01 Thread Andreas Reuleaux
To answer my own question - just for the record, in case someone is having the same difficulties - I found redefining __getstate__ in Family solved my problem: ... from zope.security.proxy import removeSecurityProxy class Family(Persistent): ... def __getstate__(self):