Hi guys.
I can't work out via the Struts 2 documentation how to make a radio
button have a separate value and label from a given Map.
I'm trying:
<s:radio list="%{options}" name="questionOne" theme="simple" />
Where 'options' is a HashMap<Integer, String>
What I get out on the JSP is one radio button only, with the following
text as the label:
{1=Yes, 2=No, 3=Maybe}
What I want is three radio buttons each with 1,2,3 as their values
respectively, and yes,no,maybe as their labels - retrieved from a Map.
How do I do this?
Thanks in advance.