Doing so is displaying the radio button as desired.
But when i am selecting the radio button and sending request no value with radio button is sending.
How to do it.?
Well this was left unanswered since a long time and somehow I managed to stumble upon the same problem in one of my projects so felt like sharing out the solution with community. The way to do it is that you have to use an iterator like the one shown in the snippet below....
what essentially is happening is that your passing your list to the iterator and using the `top` keyword in the radio itself to extract the topmost element from the list and render it out as the part of the value attribute for the radio button.
Hope it helps.
Always look on the bright side of life. At least this ad is really tiny:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop