Re: [Zope3-Users] Formlib and invariants

2006-07-19 Thread Florian Lindner
Am Mittwoch, 19. Juli 2006 03:25 schrieb Darryl Cousins: Hi All, I've had a bit of a struggle getting formlib error views to play nicely with invariants. That is the problem I have found to trouble me is in the zope.formlib.form.FormBase method error_views. When I use the schema: class

Re: [Zope3-Users] Formlib and invariants

2006-07-19 Thread Darryl Cousins
Hi Florian, Yup. Thanks for that, much more elegant and passing in an error string displays nicely with error_views. Cheers, Darryl On Wed, 2006-07-19 at 22:18 +0200, Florian Lindner wrote: Am Mittwoch, 19. Juli 2006 03:25 schrieb Darryl Cousins: Hi All, I've had a bit of a struggle

Re: [Zope3-Users] Formlib and invariants?

2006-05-04 Thread mats.nordgren
Bernd, That took care of it. Thanks a million. Mats On Thu, 4 May 2006 05:51:52 +0200, Bernd Dorn wrote yes, this should really be fixed up in the default implementation of formlib because interface.Invalid has no registered multiadapter to

Re: [Zope3-Users] Formlib and invariants?

2006-05-04 Thread Gary Poster
On May 4, 2006, at 7:44 AM, Bernd Dorn wrote: On 04.05.2006, at 13:35, Gary Poster wrote: On May 3, 2006, at 11:51 PM, Bernd Dorn wrote: yes, this should really be fixed up in the default implementation of formlib because interface.Invalid has no registered multiadapter to

[Zope3-Users] Formlib and invariants?

2006-05-03 Thread mats.nordgren
I'm trying to do a join form with formlib and are getting errors when checking invariants. I have my form interface IJoinForm class IJoinForm(Interface): a join form username = schema.TextLine( title=_('User Name'), required=True) password = schema.Password(