Is there an equivalent of manage_afterAdd that get's called after a property sheet's manage_editProperties or manage_changeProperties method is called? -- Benno Rice "No, no. We're *sweet* and XNFP Aries Dark Subculture- *innocent* evil bastards." friendly Internet Geek benno@netizen.com.au "Defend your joy"
Is there an equivalent of manage_afterAdd that get's called after a property sheet's manage_editProperties or manage_changeProperties method is called?
No, but a peek at OFS/PropertySheets.py tells me that it wouldn't be all that hard to patch one in: def manage_editProperties(self, REQUEST): """Edit object properties via the web.""" for p in self.propertyMap(): n=p['id'] self._updateProperty(n, REQUEST.get(n, '')) return MessageDialog( title ='Success!', message='Your changes have been saved', action ='manage') self._updateProperty is also called in manage_changeProperties. So, we'd have to hack some kind of callback in there. Regards, Garth. -- <gtk@well.com> ----- Original Message ----- From: Benno Rice <benno@netizen.com.au> To: <zope@zope.org> Sent: Wednesday, October 20, 1999 3:05 PM Subject: [Zope] manage_afterChange?
-- Benno Rice "No, no. We're *sweet* and XNFP Aries Dark Subculture- *innocent* evil
bastards."
friendly Internet Geek benno@netizen.com.au "Defend your joy"
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(Related lists - please, no cross posts or HTML encoding!
To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Benno Rice -
gtk