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).


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

Attachment: signature.asc
Description: OpenPGP digital signature

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to