Hi, Rocky Burt wrote: > This all looks good to me... but might I make the suggestion that you > refactor the zope.formlib code that works with FormFields to use your > function as well? I agree it's not good to make the other code > dependent on formlib, but of course formlib already depends on > zope.interface and zope.schema.
Right. That was something I thought about too, however, formlib's applyChanges function does more than that and it integrates between those five lines a bit (e.g. detecting which fields changed, and adapting the context to the target interface). Christian -- gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com