[Zope3-Users] Invariants and forms

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Aug 13 13:46:04 EDT 2007


On Monday 13 August 2007 05:37, NYLAN at gmx.net wrote:
> Since this is my first experience with zope, could someone explain to me
> the correct way to get a custom error message with invariants?

I am not sure how or whether formlib does it these days, but raising 
Invalid('string') should work. If not, it probably would require fixing 
formlib or writing a lot of code to override existing components.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list