AnsweredAssumed Answered

Value List Constraint with Id and Label.

Question asked by ericc on Apr 8, 2009
Latest reply on May 13, 2009 by ericc
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.

Outcomes