-----BEGIN PGP SIGNED MESSAGE-----
- --On 4. Dezember 2006 16:53:35 +0100 cristi <[EMAIL PROTECTED]>
>>> Hello all,
>>> I have a Zope+Plone web application and one of my forms aks the
>>> user for some information. Then this information is saved in the
>>> Zope database.
>> Huh? When you work with Plone then you are using Archetypes for
>> content-types?! Archetype fields can have a 'default' parameter. Check
>> the docs!
> thank you, but unfortunately this is not ok for me. the documentation says
> the filed receives the value during the object initialization. So when the
> object will be shown in the HTML form it will contain the default value,
> the user can invalidate it. However, I want to allow the user to save
> such an
> object but if the field is empty/null/invalid then i want to provide a
> I hope I was clear enough. Otherwise please ask.
Write your own mutator methods that implement the desired behavior instead
of using th autogenerated mutator methods.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests