[Zope3-dev] Schema fields, widgets, allowable_values and items

Martijn Faassen faassen@vet.uu.nl
Mon, 4 Nov 2002 20:21:15 +0100


Jim Fulton wrote:
[snip]
> So, are you saying that we should amend allowed_values to be not just
> a sequence of values but a sequence of values and labels? Or should there
> be a separate property?

In Formulator items is a single property. It makes it easy to override
and make dynamic. I imagine in many cases if you get your data from
say, a relational database, it's easier to have it in a single property
of label, value tuples instead of two properties, so I'd go for that.

Regards,

Martijn