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"
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to