28 Aug
2008
28 Aug
'08
8:38 p.m.
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"