-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2 M2, 5.2 RC1
-
Fix Version/s: 5.3 RC
-
Component/s: None
-
Tags:
-
Impact type:API change, API added
-
Upgrade notes:
The vocabularies and users management screens cannot be easily customized and have a few restrictions.
A vocabulary manager component has been developed for a client project and could be used in the default application. It can handle any kind of directory (not only directories with the vocabulaty or xvocabulary schema) and takes configuration to define the layout used to display entries in a table, in view mode and in edit mode.
Sample configuration is:
<extension target="org.nuxeo.ecm.platform.VocabularyUIManager"
point="vocabularies">
<vocabulary name="subject" layout="subject_vocabulary" sortField="label" />
</extension>
The referenced layout is defined as usual, no specifics are needed.
Some additional configuration could be added to handle dependencies between vocabularies (for hierarchy management for instance), so that a parent entry cannot be removed if it's referenced in a child directory.
<vocabulary name="subject" layout="subject_vocabulary" sortField="label">
<deleteCheck directoryName="subject_parent" idField="id" parentIdField="parentId" />
</vocabulary>
The table listing directory entries could be customized too so that deletion is done using checkboxes, and edition uses a single link on the vocabulary entry id.
The user management screen could use this component too, and provide better widgets for users/groups search (suggestion).