Title: html:radio tag question

Hi-

I am converting an html page to struts jsp. The original page has a set of radio buttons that are supposed to be mutually exclusive. Each has a name, and the author used javscript functions that refer to these names as onclick handlers.

My struts <html:radio> tags are all in the same form, yet they do not exhibit a mutual-exclusion behavior. When checking one, the others that are checked remain checked. I could manually fix this in javascript, except that I don't see how to get the <html:radio> to emit a name and element attribute in the resulting <input type="radio ...> output (like linkName does for anchors).

Does anyone have suggestions for creating a set of mutually exclusive buttons using <html:radio>?

Thanks,

S-

Reply via email to