struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh" <ayilli...@india.com>
Subject Re: radio select
Date Thu, 23 Aug 2001 15:51:38 GMT

Somehow I always preferred using int for html:radio property... easy to
manage, debug and set.


 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

ayilliath@india.com


----- Original Message -----
From: <martin.cooper@tumbleweed.com>
To: <struts-user@jakarta.apache.org>
Sent: Thursday, August 23, 2001 1:03 AM
Subject: Re: radio select


> 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" <supriya_misra@hotmail.com>
> To: <struts-user@jakarta.apache.org>
> 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" <bmadsen@nordija.com>
> > >Reply-To: struts-user@jakarta.apache.org
> > >To: <struts-user@jakarta.apache.org>
> > >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
> >
> >
>
>
>

Mime
View raw message