cancel
Showing results for 
Search instead for 
Did you mean: 

Value List Constraint with Id and Label.

ericc
Champ in-the-making
Champ in-the-making
Hi,
I followed the post on Jean Barmash's blog http://blogs.alfresco.com/wp/jbarmash/2008/08/08/dynamic-data-driven-drop-downs-for-list-properties/ to have dynamic value list. And it works fines.

Now I would like to have a value list displaying a label and recording an ID.
I would like to have a select like this :
<select id="country">
  <option value="fr">France</option>
</select>

I searched wiki, forum, … and don't find how to dos this.
In my constraint I can get Label and Values separated but I don't know how to separate them at the display.

Thanks for your help.
2 REPLIES 2

sergi_l
Champ on-the-rise
Champ on-the-rise
Hi Eric!

Did you find a solution for the list constraint with Id and Label??
Please, share with us your knowledge! I need to develop the same.
Thanks!

Sergi

ericc
Champ in-the-making
Champ in-the-making
No I don't find good solution for that.
For now ID and Label are the same, pretty ugly  Smiley Surprisedops: