I have the following code in one of my struts 2 source files.
then I am creating radio buttons like this
now i do see two radio buttons, 'Apples' and 'Oranges' on the screen but what If i want to put different values for the two? I believe listKey attribute is used for that purpose but what can i Pass here? I am lost!
for example what If i want a value of "1" for Apples and "2" or Oranges? should I be making a list, just like list for Apples and Oranges, and put values in that list?