[Zope-dev] z3c.form - extraction from sequence widget

Stephan Richter stephan.richter at keas.com
Wed Aug 27 20:15:48 EDT 2008


On Wednesday 27 August 2008, Martin Aspeli wrote:
> This means that if the request contains the empty-marker only (no
> selection was made) for a checkbox widget (say), then the return value
> is [], rather than default (NOVALUE).
>
> Is that a bug? I have a custom checkbox widget derived from the standard
> checkbox widget, (z3c.formwidget.query, in fact), and I never get any
> "required missing" exceptions, even when I untick all the checkboxes and
> click OK.
>
> Am I missing something?

I think you have a point. Have you tried changing the behavior to 
return "default" and see what tests fail? If no major failures come out of 
this, I would say change it.

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


More information about the Zope-Dev mailing list