[Zope3-dev] Heads up: changing widget management in generated forms

Jim Fulton jim@zope.com
Thu, 05 Jun 2003 10:28:49 -0400


I'm (finally) going to clean up the way widgets are associated with forms
today.  Rather than storing widgets in an attribute with the same
name as the field, I'm going to add a "_widget" suffix.

I'm going to attempt to do this in a backward compatible way with
deprecation warnings.

This affects mainly:

- custom templates that access widgets with path expressions like:

      view/title

   which will need to change to:

      view/title_widget

- custom widget definitions like:

     title = CustomWidget(TextWidget, size=30)

   will need to become:

     title_widget = CustomWidget(TextWidget, size=30)


Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (703) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org