You can't just use standard getters for radiobuttons.
you need:

public void setFundsVerified(String s)
        this.fundsVerified = s;
} 

public String isRBSelected(String s){
        return(fundVerified.equals(s)) ? "checked" : "";
}

Richard Stack
Senior Java Developer
COGNICASE Inc.

-----Original Message-----
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]]
Sent: April 11, 2002 1:33 PM
To: Struts Users Mailing List
Subject: Re: <html:radio> can't find bean property


do you have a getFundsVerified method on your
form-bean?
--- [EMAIL PROTECTED] wrote:
> Hello,
> 
>  
> 
> The <html:radio> element in my form can't find its
> property, yet other
> elements don't have this trouble.  For instance,
> this works
> 
>                       <html:text
> property="fundsVerified" id="fundsVerified"
> value="NO"/>
> 
> but this doesn't
> 
>                       <html:radio
> property="fundsVerified"
> id="fundsVerified"  value="NO"/>
> 
> The error I get is:
> 
> javax.servlet.jsp.JspException: No getter method
> available for property
> fundsVerified for bean under name
> org.apache.struts.taglib.html.BEAN
> 
>  
> 
> Has anyone seen this?  What the heck is going on?
> 
> This is Struts 1.0.2.
> 
>  
> 
> Thanks!
> 
> David
> 
>  
> 
>  
> 
> David A. Ventimiglia
> 
> Wells Fargo Private Client Services
> 
> (415) 396-0414 (work)
> 
>  
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
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