[Zope-dev] Adding your own (complex) data types to property pages: example a nd problems...nd problems...

Phillip J. Eby pje@telecommunity.com
Thu, 04 May 2000 13:59:38 -0500


At 02:22 PM 5/4/00 -0400, Mike  Fletcher wrote:
>Interestingly, I had seen the lack of localization as a feature :) .  For
>instance, updating the date property control is something that could allow
>every date property in the system to be edited with the more advanced
>control.

In our model, you'd do that by creating a Date specialist and using
PropertyHandlers that delegate to it for UI/marshalling operations.  If you
only have one Date specialist, then it's global, but you can still override
locally where desired for special needs.  Specialists (then called
Implementors) were in fact originally conceived as a place for
PropertyHandlers to delegate this kind of UI handling to for local
overriding.  They then turned out to be useful for all kinds of other stuff.