Tim Lesher wrote:
> On 3/29/06, ajones <[EMAIL PROTECTED]> wrote:
> >
> > I think NotEmpty should be a class instantiation, so you should have:
> > validator=validators.NotEmpty())],
> > instead of:
> > validator=validators.NotEmpty)],
> >
>
> The code acts the same way whether I pass the class or an instance,
> which corresponds to the SimpleWidgetForm Trac documentation: "Note
> that validators don't need to be instantiated unless you're passing in
> arguments."
>

Hi Tim,

can you open a ticket (with a link to this thread)? this is related to
the new validation mechanism for widgets that doesn't care about
missing values, since you are using check boxes if none is checked we
don't get a value returned. :-(

Ciao
Michele


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to