[Zope-dev] ContainerOrderModifiedEvent

Alan Runyan runyaga at runyaga.com
Thu Mar 19 14:34:38 EDT 2009


It looks like zope.container.contained.notifyContainerModified is the
event that is sent when *any* container modification occurs.  Maybe
this is too coarse grain?  I would like to be able to differentiate
when Ordering changes take place on a container.

Are there any complaints against having ordering signal a more
specific event?  i.e. ContainerOrderModifiedEvent?
It would inherient from ContainerModifiedEvent.

specifically in:
  - zope.container.ordered.updateOrder
  - OFS.Folder.OrderSupport

The problem is that it is very difficult to know if the Order has
changed vs. some other container attribute has been changed.

-- 
Alan Runyan
Enfold Systems, Inc.
http://www.enfoldsystems.com/
phone: +1.713.942.2377x111
fax: +1.832.201.8856


More information about the Zope-Dev mailing list