>
> Does anybody know how to use the nested:radio button
> component so That you can have mutually exclusive sets of
> radio buttons?
>
I think you are referring to radio button groups when you "mutually exclusive sets".
Going on that premise, radio buttons with the same name are "grouped" by the browser.
And in the Struts (or Nested) world, the property attribute provides the radio button
its name. Therefore
<nested:radio
property="fruit"
value="apple">
Apple
</nested:radio>
<nested:radio
property="fruit"
value="banana">
Banana
</nested:radio>
will form the "fruit" group -- meaning only one of Apple or Banana can be selected.
You can have any number of such groups in a page. So the above page could include
another (totally unrelated) group such as
<nested:radio
property="weather"
value="cloudy">
Cloudy
</nested:radio>
<nested:radio
property="weather"
value="sunny">
Sunny
</nested:radio>
<nested:radio
property="weather"
value="partly">
Partly Sunny
</nested:radio>
Hope that answers your question.
> Jon.
Sri
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]