The <html:radio> shows as selected if the value of the property attribute matches the 
value of the value attribute.  So, if you have

<html:radio property="operation" value="yes"/> Yes
<html:radio property="operation" value="no"/> No

This will show 2 radio buttons with the first one selected if getOperation() on the 
form bean returns "yes".

Sri


-----Original Message-----
From: Marcus Biel [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 18, 2002 9:17 AM
To: [EMAIL PROTECTED]
Subject: radio button checked ?


How to make a radio Button checked using Struts 1.02 ?
That would be the html equivalent:
        <input type="radio" name="name" value="value" checked>

thx in advance for your help.

marcus

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to