This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?