Drop down with different labels and values
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2011 04:57 AM
Hello!
I am trying to have in my custom worflow a drop-down, that has different value and label for the same dropdown element.
Alfresco by default uses the same value and label for drop-down elements.
Drop-down gets its data from database table, and sets the ID field as drop-down values and the Name field as drop-down labels.
I managed to do this for Alfresco Explorer with component-generator and converter(found the instructions on this forum) and it works fine,
but how do I do this for Alfresco Share?
I just can't find any instructions for doing this for Share specifically.
Please help!
I am trying to have in my custom worflow a drop-down, that has different value and label for the same dropdown element.
Alfresco by default uses the same value and label for drop-down elements.
Drop-down gets its data from database table, and sets the ID field as drop-down values and the Name field as drop-down labels.
I managed to do this for Alfresco Explorer with component-generator and converter(found the instructions on this forum) and it works fine,
but how do I do this for Alfresco Share?
I just can't find any instructions for doing this for Share specifically.
Please help!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2011 08:14 AM
I have figured it out.
For share all I have to do is add values in the field in this format: value|label,
where value is the value in drop-down and label is the label in drop-down,
and then use the selectone.ftl
For share all I have to do is add values in the field in this format: value|label,
where value is the value in drop-down and label is the label in drop-down,
and then use the selectone.ftl