I'm not sure I understand your warning. For a set of radio buttons, there
should not be an array in the form bean, just a simple string property,
since only one radio button from a set can be selected at any time.

--
Martin Cooper


----- Original Message -----
From: "SUPRIYA MISRA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 6:35 AM
Subject: Re: radio select


> suggestion:-you may need to reset the value in the form bean
>
>
> WARNING: In order to correctly recognize cases where none of the
associated
> radios are selected, the ActionForm bean associated with this form must
> include a statement setting the corresponding array to zero length in the
> reset() method.
>
>
>
>
> >From: "Bille Madsen" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: radio select
> >Date: Wed, 22 Aug 2001 11:35:14 +0200
> >
> >
> >Hi,
> >
> >I have the following code:
> >
> ><html:radio property="radioBtn" value="mail" />
> >
> ><html:radio property="radioBtn" value="credit" />
> ><html:errors property="radioBtn" />
> >
> >Just two normal radiobuttons, have do I use the 'selected'-option which
> >html
> >provide?
> >If the user select one the radio-buttons and come back to the page later,
> >none of the radio-buttons are selected, but all other info is still
> >presented(struts text-fields and so on).
> >By the way, I get the values correct in the formbean, so no problem
> >there...
> >
> >Anyone having a answer?
> >
> >Thanks
> >
> >Bille
> >
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>


Reply via email to