On Monday 13 August 2007 05:37, [EMAIL PROTECTED] 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
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to