I designed a custom schema for a vocabulary. This extended schema adds fields such as code, extra label, etc.
Up until now, I ve used the suggestion widget with searches (create / edit) or displayed information (read) using those extra fields. Quite convenient.
Now, it seems I ll have to store those extra informations in dedicated fields.
What is the best way to procede ?
At the widget / JSF level : retrieve the Id of the entry and update hidden fields or whatever ?
Using an automation chain / event handler that will update the document according to the selected Id ? Querying a vocabulary can be done (easily) in Nuxeo Studio ?