Terp,

        Thank you for the reply. However, I did exactly as you suggested
and it did not work. That's why I posted for help.

Shu, Kwang-shi          | Tel 732-460-7848
Village Networks, Inc.  | Fax 732-460-9851
246 Industrial Way West |
Eatontown, NJ 078724    | email: [EMAIL PROTECTED]


-----Original Message-----
From: Torsten Terp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 4:49 PM
To: [EMAIL PROTECTED]
Subject: RE: Help, How to check (initially) a radio button?


Hi,

If your goal is to have a group of radiobuttons, with one of
them initially checked, you just use the same property, i.e.,
"searchCondition" and initialise it to the value of the 'value tag'
i.e., "strict" :

<html:radio property="searchCondition" value="fuzzy" />
<html:radio property="searchCondition" value="strict"/>
<html:radio property="searchCondition" value="whatever" />

^terp

> -----Original Message-----
> From: Kwang-Shi Shu [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 10:31 PM
> To: [EMAIL PROTECTED]; Michelle Popovits; Norman Timmler
> Subject: Help, How to check (initially) a radio button?
>
>
> Hi,
>
>       I used Struts ActionForm. Within a form, I have several radio buttons and
I
> want to check one of them at the start of the page. Even though I set the
> particular radio button value in "actionForm.class" as "true", it did not
> work. I tried to put "checked" (just like HTML format) inside the
> "<html:radio ... >", it did not work since it is not allowed.
>
>       Could somebody show me how to do this? Thanks.
>
> Shu, Kwang-shi          | Tel 732-460-7848
> Village Networks, Inc.  | Fax 732-460-9851
> 246 Industrial Way West |
> Eatontown, NJ 078724    | email: [EMAIL PROTECTED]
>
>
>

Reply via email to