Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-08 Thread Hermann Himmelbauer
Am Mittwoch, 8. August 2007 05:45 schrieb Stephan Richter: On Wednesday 01 August 2007 13:15, Hermann Himmelbauer wrote: In one of my forms, one field is defined like that: The entered value is not a valid integer literal. Interestingly, if I set 1,123 as value, zope outputs:

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-08 Thread Stephan Richter
On Wednesday 08 August 2007 05:26, Hermann Himmelbauer wrote: Now the same validation problems occur for this input field. Maybe the reason for this is my Zope3 version? I still use Zope-3.3.1. The z3c packages are all up to date, I use the latest SVN versions. Zope 3.3.1 is the problem. The

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-07 Thread Stephan Richter
On Wednesday 01 August 2007 13:15, Hermann Himmelbauer wrote: In one of my forms, one field is defined like that:     foobarid = Int(         title=u'ID',         description=u'ID of Foobar',         required=False) When I add this field in a z3c.form based form, e.g.: fields =

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-02 Thread Hermann Himmelbauer
Am Mittwoch, 1. August 2007 20:37 schrieb Markus Leist: Hi, do you have a from zope.schema.fieldproperty import FieldProperty class Foo: implements(IFoo) foobarid = FieldProperty( IFoo['foobarid']) I do have an object that implements my IFoo interface, however, I don't use

[Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-01 Thread Hermann Himmelbauer
Hi, In one of my forms, one field is defined like that: foobarid = Int( title=u'ID', description=u'ID of Foobar', required=False) When I add this field in a z3c.form based form, e.g.: fields = field.Fields(IFoo['foobarid']) Then the validation of the field fails,

Re: [Zope3-Users] z3c.form: Integer-based fields incorrectly validated

2007-08-01 Thread Markus Leist
Hi, do you have a from zope.schema.fieldproperty import FieldProperty class Foo: implements(IFoo) foobarid = FieldProperty( IFoo['foobarid']) ? Regards, Markus Am Mittwoch 01 August 2007 um 19:15 Uhr schrieb Hermann Himmelbauer [EMAIL PROTECTED]: Hi, In one of my forms,