I searched the struts html tag API, but htmal:radio, there is no such a thing that matches to "CHECKED" in html's radio tag. How can we set it as default checked ?
Steve Li
Greenhorn
Joined: Jun 29, 2005
Posts: 5
posted
0
Try
Thank you Steve
Artemesia Lakener
Ranch Hand
Joined: Jun 21, 2005
Posts: 162
posted
0
Originally posted by Steve Li: Try
Thank you Steve
You completely get me wrong. I am not asking for "check box", I was asking how to do the following html --
then u can set 1 control as checked by initialising gender property to "M" in ur ActionForm or if u want to do it at run-time in Action class then u can do it by the setProperty of Gender.