Re: [Zope3-dev] Formlib error handling

2006-05-18 Thread Gary Poster
On May 17, 2006, at 9:27 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: From: Gary Poster [mailto:[EMAIL PROTECTED] On Apr 22, 2006, at 11:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The formlib.EditForm dosen't catch all errors form widgets. ... I solve the problem and added some

RE: [Zope3-dev] Formlib error handling

2006-05-18 Thread dev
Hi Gary [...] With your change, if the error is (or extends!) Invalid, it is hardcoded to assume the first argument is a string, message, or something with a reasonably __str__, translate if it is a message, and wrap the result with a span. I'd much prefer it if that code were ripped

Re: [Zope3-dev] Formlib error handling

2006-05-18 Thread Gary Poster
On May 18, 2006, at 4:12 PM, [EMAIL PROTECTED] wrote: Hi Gary [...] With your change, if the error is (or extends!) Invalid, it is hardcoded to assume the first argument is a string, message, or something with a reasonably __str__, translate if it is a message, and wrap the result with a

Re: [Zope3-dev] Formlib error handling

2006-05-17 Thread Gary Poster
On Apr 22, 2006, at 11:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The formlib.EditForm dosen't catch all errors form widgets. ... Hey Roger. Your email has been sitting open on my computer for weeks, reminding me to reply, and I want to get rid of it. :-) Did you put a

RE: [Zope3-dev] Formlib error handling

2006-05-17 Thread dev
Hi Gary, -Original Message- From: Gary Poster [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 7:36 PM To: [EMAIL PROTECTED] Cc: zope3-dev@zope.org Subject: Re: [Zope3-dev] Formlib error handling On Apr 22, 2006, at 11:31 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote