cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Choice lists

dcrossma
Champ in-the-making
Champ in-the-making
Hi I was wondering if anyone had created a dynamic choice list for entering metadata???

I would like to have one list and then based on what value is selected I would like to populate a second list??? This is something I have done before using javascript in web apps but I am not sure how to proceed with alfresco

any help would be appreciated

Cheers Dave
10 REPLIES 10

gavinc
Champ in-the-making
Champ in-the-making
When you call createComponent() you have to cast the return object to the appropriate type.

For example:

UISelectOne component = (UISelectOne)context.getApplication().createComponent(UISelectOne.COMPONENT_TYPE); 

Another one of those JSF quirks!