[Zope-CMF] Re: [dev] RFC: Extensible propertysheet use cases

Florent Guillaume fg at nuxeo.com
Wed Sep 29 10:22:44 EDT 2004


On 29 Sep 2004, at 16:11, yuppie wrote:
> Florent Guillaume wrote:
>
>>> Use case:  Site manager sets default content annotations
>>> [...]
>> I believe this is best dealt with another specific TypeInformation
>> subclass, that has a schema setting and initializes its object as it
>> wishes.
>> (That's actually what we do in CPS, using our 
>> FlexibleTypeInformation.)
>
> +1
>
> A registry for TypeInformation classes would be nice. This way 
> products like CPSDocument would not have to patch the Types Tool.

Yeah. And each TypeInformation class could have helper methods to have 
CMFSetup serialize/unserialize it correctly (or maybe just assume all 
configuration is in properties).

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com



More information about the Zope-CMF mailing list