You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Satish Kataria <sk...@sapient.com> on 2004/06/07 13:09:48 UTC

Checking a default option in radio

Hi,
Can I select a particular option as the default option in a set of radio
buttons.
If yes, then what is the way of doing it using nested:radio tag.
Any code snippet will be very helpful
Thanks,
Satish

Re: Checking a default option in radio

Posted by James Mitchell <jm...@apache.org>.
Or do it in the reset() method.



--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "James Mitchell" <jm...@apache.org>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Monday, June 07, 2004 7:35 AM
Subject: Re: Checking a default option in radio


> In the action leading to that page, check to see if that property is set,
if
> not, set it to the value you wish to be the default.
>
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
>
>
>
> ----- Original Message -----
> From: "Satish Kataria" <sk...@sapient.com>
> To: <us...@struts.apache.org>
> Sent: Monday, June 07, 2004 7:09 AM
> Subject: Checking a default option in radio
>
>
> Hi,
> Can I select a particular option as the default option in a set of radio
> buttons.
> If yes, then what is the way of doing it using nested:radio tag.
> Any code snippet will be very helpful
> Thanks,
> Satish
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



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


Re: Checking a default option in radio

Posted by James Mitchell <jm...@apache.org>.
In the action leading to that page, check to see if that property is set, if
not, set it to the value you wish to be the default.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx



----- Original Message -----
From: "Satish Kataria" <sk...@sapient.com>
To: <us...@struts.apache.org>
Sent: Monday, June 07, 2004 7:09 AM
Subject: Checking a default option in radio


Hi,
Can I select a particular option as the default option in a set of radio
buttons.
If yes, then what is the way of doing it using nested:radio tag.
Any code snippet will be very helpful
Thanks,
Satish




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