[Zope3-dev] Missing ObjectContentModifiedEvent
Uwe Oestermeier
u.oestermeier at iwm-kmrc.de
Wed Jun 8 03:24:38 EDT 2005
I would like to fix the missing event bug, implement Jim's proposal and
mark ObjectContentModifiedEvent and ObjectAnnotationModifiedEvent as
deprecated.
Any objections?
Uwe
jim at zope.com wrote:
>
>I suggest we generalize this a bit. I suggest that the ObjectModified
>event could accept one or more modification descriptions (hints?).
>Some examples:
>
> ObjectModifiedEvent(obj, IObjectFile)
>
>This says that we modified the objects file data. Note that
>an interface is an acceptable description. In fact, we
>might allow pretty muich anything as a description.
>
> ObjectModifiedEvent(obj, IObjectFile,
> Attributes(IZopeDublinCore, 'title',
>'description'),
> )
>
>This says we modified the file data and the DC title and description.
>
>This information would be a hint that subscribers could use, or not use
>as appropriate.
>
>We could change the form machinery in an obvious way to generate
>attribute descriptions.
More information about the Zope3-dev
mailing list