Re: Validation and Events
George Lee <[email protected]> Mon, 25 Sep 2006 21:52:03 +0000 (UTC)
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
> an easy way to get whole object constraints validation constraints > decoupled, is firing event an IValidateModifyContent, in > baseobject.post_validate method. This event/interface doesn't exist yet, correct? (I don't see any through Google.) I'm also assuming that this would not subclass any other events like IObjectModifiedEvent, since that would run the risk of triggering handlers not intended to run until after validation and saving. I'll probably work on the code this weekend if nobody gets around to it. Peace, George ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV