On Thursday 28 August 2008, Martin Aspeli wrote:
> I suspect that we just need widget.SequenceWidget in z3c.form to have a
> special case for len(self.terms)==1, i.e. it's a checkbox with only one
> option, or maybe a special case for a BooleanField, or indeed have
> different widgets for Boolean and ICollection fields.

Widgets should not make these sort of decisions. I think this is the 
responsibility of the data converter. I am pretty sure that writing more 
specific data converters will solve our problem.

Thoughts?

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