[Zope3-Users] Arranging widgets in a form / Limit size of input fields

Fred Drake fdrake at gmail.com
Thu May 3 09:07:01 EDT 2007


On 5/3/07, Darryl Cousins <darryl at darrylcousins.net.nz> wrote:
> My approach is different to Fred's because I rarely call setUpWidgets in
> my form code. I have a bunch of custom widgets in a known place and use
> custom_widget. Some widgets are for special fields or needs and some are
> as simple as this one. I reuse it very often.:

This is probably a better pattern most of the time.  I suspect part of
my setUpWidgets() addiction comes from the early days of zope.formlib,
before custom_widget was added.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Zope3-users mailing list