struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: radio select
Date Wed, 22 Aug 2001 13:35:21 GMT
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" <>
>To: <>
>Subject: radio select
>Date: Wed, 22 Aug 2001 11:35:14 +0200
>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 
>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 
>Anyone having a answer?

Get your FREE download of MSN Explorer at

View raw message