Hi sean
We don't want to change the behaviour of the edited field,
we want to use Choice / Multiple Choice fields as usual
we want to change the behaviour of the field to edit, in field edit form,
the values of the Choix / Multiple Choice field. In my way, we don't want to add new field types.
We want :
- a new field to edit vocabulary values:
in ITextLineChoice, values would not be a List but a DataGrid, with two columns : token and label
- a widget that allow us to edit only the label column, and that fills a hidden token column with a value when we add a new label
- a new TextLineChoiceField (plone.schemaeditor.fields) that construct the vocabulary using token column for token and value and label column for title
- a in plone.supermodel.exportimport.ChoiceHandler, just implement export in write method where we get for now
if (not isinstance(term.value, (str, unicode), )
or term.token != term.value.encode('unicode_escape')):
raise NotImplementedError(u"Cannot export a vocabulary that is not "
"based on a simple list of values")
with backward compatibility of course
There is a lot of things to do but we may get ressources for that.