It's a breeze to back a h:selectManyCheckbox with a List of values like so:
<s:selectItems var="_type" value="#{validTypes}" label="#{_type}"/>
But that makes the label of each checkbox the same as its value. Is it possible to back it with, say a Map, and have labels that are different than the values. What I want is basically a set of checkboxes with labels corresponding to values such as:
NI : Name Insured
SP : Spouse
FM : Family
Where the two letter code is the value that gets submitted.