[PEAK] Object-level validation hook

Erik Rose psucorp at grinchcentral.com
Thu Oct 13 11:52:52 EDT 2005


On Jul 27, 2003, at 9:34 PM, in "Re: [TransWarp] Constraints on model  
attributes", Phillip J. Eby wrote:

> Indeed, I wonder if maybe peak.model should offer an object-level  
> validation hook, that gets called before an object's state can be  
> flushed to storage.  If this hook were also callable by UI  
> frameworks, they could simply set all values as desired, call the  
> validation hook to get a list of problems, and roll back the  
> transaction.

Yes, please! :-D

Erik



More information about the PEAK mailing list