cancel
Showing results for 
Search instead for 
Did you mean: 

Loding combo box

khabir
Champ in-the-making
Champ in-the-making
Dynamically i want to load the data in the combo box.
Data should be fetched from the database
1 REPLY 1

invictus9
Champ in-the-making
Champ in-the-making
If by "combo box" you mean the list of values that are associated with a property, then there is a mechanism that allows you to do this. The list of values that you can supply in the type definition is provided using the constraint mechanism. You can create code, in Java, that will extend the constraint mechanism and supply values from arbitrary sources.

See:

http://blogs.alfresco.com/wp/jbarmash/2008/08/08/dynamic-data-driven-drop-downs-for-list-properties/