You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by merryba <me...@yahoo.com> on 2007/07/26 00:52:39 UTC

radio Button in Struts2

Hi,

Please I am newbie to Sruts2.
I want the radio button to display "Male" as the default 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-Button-in-Struts2-tf4148440.html#a11801389
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: radio Button in Struts2

Posted by Laurie Harper <la...@holoweb.net>.
merryba wrote:
> Hi,
> 
> Please I am newbie to Sruts2.
> I want the radio button to display "Male" as the default one.
> 
> <s:radio name="registration.gender"  list="#{'M':'Male','F':'Female'}" />
> 
> 
> How can I do it? Please help me.
> 
> Thanks

Please post questions about using Struts to the Struts Users list only. 
The Struts Dev list is for discussing the development and enhancement of 
Struts itself.

http://struts.apache.org/mail.html


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org