I believe that when you say 'value="childGroupOID"' you are hardcoding the
value to be childGroupOID.
I think what you want is to leave out the value attribute. This way, the
value will be set to domainDomainRelationHolder.getChildGroupOID().
- eric
----- Original Message -----
From: "B Manikandan" <[EMAIL PROTECTED]>
To: "struts" <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 4:32 AM
Subject: How to set value to radio button/check box dynamically
> Hi,
> When a form is loaded how to set the value of radio buttons/check
> boxes.
> I have a property in my bean whose value has to be set in radio
> button/check box.
>
> But,if I use
>
> <html:radio name="domainDomainRelationHolder" property="childGroupOID"
> value="childGroupOID"/>
>
> all that Iam getting is a radio button with value="childGroupOID".But I
> need the value of childGroupOID from bean class
> DomainDomainRelationHolder as value of my radio button.
>
> Mani
>
>
>
>
>