As following:
<s:radio name="registration.gender" list="#{'M':'Male','F':'Female'}"
value="%{'F'}"/>
Crazyreal
-----邮件原件-----
发件人: merryba [mailto:[EMAIL PROTECTED]
发送时间: 2007年7月26日 7:13
收件人: [email protected]
主题: Radio Buttons in Struts
Hi,
Please I am newbie to Sruts2.
I want the radio button to display "Male" as the selected one.
<s:radio name="registration.gender" list="#{'M':'Male','F':'Female'}" />
How can I do it? Please help me.
Thanks,
--
View this message in context:
http://www.nabble.com/Radio-Buttons-in-Struts-tf4148450.html#a11801418
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]