Apache Struts 2 Documentation > Home > FAQs > How do I render a single radio button |

Apache Struts 2 Documentation
How do I render a single radio button
Edit Page Browse Space Add Page Add News
Added by Tom Schneider, last edited by Tom Schneider on Feb 18, 2007

Using OGNL, it is possible to render a single radio button using the existing radio tag.

    <s:radio theme="simple" name="selectedOption" list="{optionA}"/>
    ...
    <s:radio theme="simple" name="selectedOption" list="{optionB}"/>