In my DS enums, i have 'valueMap' that always gets picked up as i would like. For example:
However, i would like to have icons also, in addition to or instead of the text as values. Can this be done?
I tried defining a
But that didn't work. If i could define it next to the values in the map somehow would be great!
Code:
<valueMap>
<value id="0">-</value>
<value id="1">Green</value>
<value id="2">Yellow</value>
<value id="3">Red</value>
</valueMap>
I tried defining a
Code:
<valueIcons>
<value id="0"></value>
<value id="1">images/trafficlights/green.png</value>
<value id="2">images/trafficlights/yellow.png</value>
<value id="3">images/trafficlights/red.png</value>
</valueIcons>