Browsers (AFAIK) don't send a request parameter with disabled radio
buttons. You'll have to do some additional checking in the reset()
method of your bean to set those to the proper values.
w
On Thu, 20 Jan 2005 02:02:34 -0400
Néstor Boscán <[EMAIL PROTECTED]> wrote:
Hi
I'm working with struts and action forms. I have a form with several
fields
and some of them are radio buttons. In some cases I want the radio
buttons
to be disabled so I put the html:radio tag like this:
<html:radio property="radiobutton" value="Yes" disabled="true"/>
<html:radio property="radiobutton" value="No" disabled="true"/>
The problem is that if I submit the form and validation fails the
form is
reloaded with all fields except the value of the disabled radio
buttons. The
radio button is not checked with the last value. I tested the same
form
without the disabled property and it works fine.
Has anyone got the same problem?
Regards,
Néstor Boscán
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]