On Thu, 31 Aug 2006 20:29:49 +0700 Darryl Cousins <[EMAIL PROTECTED]> wrote: > On Thu, 2006-08-31 at 15:07 +0300, Marius Gedminas wrote: > > I am going to work on this today. > > For what it may be worth, a Decimal field: > > Code: > http://projects.treefernwebservices.co.nz/tfws.org.nz/file/trunk/src/tfws/field/field.py > Doctest: > http://www.tfws.org.nz/tfws.field.README.html
Looks nice. Would you consider contributing it for the inclusion into the Zope 3 core? (I see that it is already licenced under the ZPL, but I do not think I can just commit it into the Zope 3 repository under a different name.) I am attaching the diff showing my current working version, which mirrors the existing zope.schema.Float field more closely. As far as I can tell your field/widget is better. The only thing I do not see is a registration for a IDisplayWidget. Marius Gedminas -- Think different? I'd be happy if most people would just think...
zope3-decimal-field-and-widget.patch
Description: Binary data
pgpThoaGyHTMB.pgp
Description: PGP signature
_______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users