Ticket #127 (assigned enhancement)

Opened 5 years ago

Last modified 5 years ago

Vocabularies must be associated to fields not widgets

Reported by: fguillaume Assigned to: fguillaume (accepted)
Priority: P3 Milestone: unspecified
Component: CPSSchemas Version: unspecified
Severity: normal Keywords: vocabularies
Cc:

Description

Vocabularies must be associated to fields not widgets

For a select widget (simple or multiple), there is an associated vocabulary. At the moment it's associated to the widget, but it really should be associated to the underlying field. Also the default for this field could be gotten from the vocabulary (should the vocabulary have a default itself?).

This kind of field may also want to allow a "None" value (but YAGNI?).

Change History

09/08/03 20:23:49 changed by fguillaume

  • status changed from new to assigned.
  • component changed from CPSDocument to CPSSchemas.

Changing product to CPSSchemas.

09/24/03 19:18:16 changed by fguillaume

  • keywords set to vocabularies, hc@nuxeo.com.

09/25/03 10:52:02 changed by disabled-hc@nuxeo.com

Are you sure about that ? Vocabularies are to be know by the widgets, to render the select box. Fields just have to store a value, the key is our case.

09/25/03 19:23:41 changed by fguillaume

Vocabularies will be used by widgets, yes, but they have a fundamental role at the field level to be able to enforce allowed values.

02/20/04 16:27:19 changed by bdelbosc

  • priority changed from P2 to P3.
  • severity changed from normal to enhancement.