[Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Feb 9 21:29:55 EST 2008


On Friday 08 February 2008, Hermann Himmelbauer wrote:
> Right, that seems to be a perfect solution. Btw., it seems that there are
> quite some generic widget/field-patterns that a lot of people are needing -
> such as the PasswordConfirmationWidget. Or, in my case I need a
> special "Email" field, that inherits from TextLine and may also have some
> specific widget.

Why would you need a special widget for E-mail? You need a special field and 
maybe a special validator, if your field does not provide a sufficient 
validate() method.

> So I'd suggest to open some repository, e.g. "z3c.formwidgets" where people
> can contribute their fields/widgets so that they can be reused by others.
> Moreover, this would also be a good entry point for people developing new
> widgets.

+1. Let's call it "z3c.formwidget" (singular).

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"


More information about the Zope3-users mailing list