It doesn't work .Still I am not getting as one of the radio buttons to be selected by default.
Real wrote: > > As following: > > <s:radio name="registration.gender" list="#{'M':'Male','F':'Female'}" > value="%{'F'}"/> > > Crazyreal > > -----邮件原件----- > 发件人: merryba [mailto:[EMAIL PROTECTED] > 发送时间: 2007年7月26日 7:13 > 收件人: user@struts.apache.org > 主题: 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] > > > -- View this message in context: http://www.nabble.com/Radio-Buttons-in-Struts-tf4148450.html#a11802728 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]