Is there a TTW way to include one of the common plone vocabularies in Dexterity.
I was hoping it was as simple as doing this in the dexterity modeleditor, but of course it isn't:
If you want to show vocabulary values in a choice field, you have to use the 'vocabulary' tag:
<field name="system_type" type="zope.schema.Choice">
<title i18n:translate="">System Type</title>
<description i18n:translate="">System Type of this solution</description>
<vocabulary>plone.principalsource.Group</vocabulary>
<default></default>
<required>True</required>
<readonly>False</readonly>
</field>
And if you want it to be a multiple selection list with a checkbox field you need to use a "Set" with the relevant widget information:
<field name="load_type" type="zope.schema.Set" form:widget="z3c.form.browser.checkbox.CheckBoxFieldWidget">
<title i18n:translate="">Load type</title>
<description i18n:translate="">Load type used in this project</description>
<value_type type="zope.schema.Choice">
<vocabulary>plone.principalsource.Group</vocabulary>
</value_type>
<required>False</required>
</field>