Hi,
I tried the same. But it didn't worked
<s:radio label="Courtesy Call  Requested" name="courtesyCallFlag"
list="{'Yes','No'}" value="No" required="true" />
Regards,
Pankaj


On 11/14/07, Randy Burgess <[EMAIL PROTECTED]> wrote:
>
> Use the value attribute and the radio button with that value will be
> selected.
>
> <s:radio name="r1" value="<some ognl value>" list="<some ognl list/map>"/>
>
> Regards,
> Randy Burgess
> Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Pankaj Gupta <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <user@struts.apache.org>
> > Date: Wed, 14 Nov 2007 10:42:20 +0530
> > To: <user@struts.apache.org>
> > Subject: How to preselect a radio button in Struts 2
> >
> > Hi,
> > I am working on Struts 2 and I want to preselect  a radio button.
> > If somebody can let me know how to go about it.
> > Regards,
> > Pankaj
>
>
>
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information.  If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to read,
> copy, or distribute it, and we ask that you please delete it (including all
> copies) and notify the sender by return email.  Delivery of this Message to
> any person other than the intended recipient(s) shall not be deemed a waiver
> of confidentiality and/or a privilege.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to