cancel
Showing results for 
Search instead for 
Did you mean: 

Controlled vocabulary property

lfridael
Champ in-the-making
Champ in-the-making
Hi,

Is there any way to

1) Restrict an Aspect property's value to values within a controlled dictionary?
2) Specify that these particular properties are displayed in a property sheet using a list box or combo box populated with the values from the controlled dictionary.

I would be grateful for any hints on how to approach this problem.

Thanks
-Laurens
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
Sounds like you're after "Constraints" - see http://wiki.alfresco.com/wiki/Constraints for details.

Cheers,
Peter

lfridael
Champ in-the-making
Champ in-the-making
Thanks for the reply. However, after I made the original posting, I dug a little deeper in the internals of the Repository and the Web Client. What I ended up doing was using standard classifications (categories) to define my controlled vocabularies. The controlled vocabulary properties (of type "d:category") are displayed using a UISelectOne JSF component (in edit mode, that is) by having the web client configured with custom Component Generators and accompanying Converters.

While I'm happy that it works, I do feel it's too involved and too complicated a solution. I came to understand why Alfresco is phasing out the usage of JSF (and thus the Web Client) in the long run.