[Zope3-dev] MultiSelectWidget used for sets
Jim Fulton
jim at zope.com
Tue Feb 1 05:36:06 EST 2005
Garrett Smith wrote:
> I see a TODO in the configure.zcml for z/a/form/browser warning that
> MultiSelectWidget generates a list and not a set. This would appear to
> make it unusable, as z.schema.Set expects a set, else it raises a
> WrontType.
It should be useful for a sequence that wants unique values.
I agree that it is not useful as a set widget.
Of course, it should be easy to create a version that does.
Perhaps, in fact, it could alter what it generates based on it's
context.
> Maybe I'm missing something here, but this is a bug AFAICT.
Sounds like it. Why not submit a collector issue?
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list