Yes the form bean is associated with the HTML form.

If I simply do this:
<c:out value="${dependentForm.dependent.healthEligibilityIndicator}"/>
It writes out the contents. This takes care of the value attribute.

My question is for the property.
Can a nested bean property be used in the html-el:checkbox as the 
property?

- Glenn




Hubert Rabago <[EMAIL PROTECTED]> 
06/06/2005 04:24 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
Struts Users Mailing List <user@struts.apache.org>
cc

Subject
Re: html-el:checkbox quandary






Is dependentForm is form bean associated with the HTML form that
your checkbox is a part of?  There could be a typo in your
struts-config, or your <html:form>, or your form declaration.

Hubert

On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I gave it a go and I get this error now... more precise but an error 
none
> the less...
> [06/06/05 15:40:53:846 EDT] 5dc35dc3 WebGroup      E SRVE0026E: [Servlet
> Error]-[No getter method for property 
dependent.healthEligibilityIndicator
> of bean org.apache.struts.taglib.html.BEAN]:
> javax.servlet.jsp.JspException: No getter method for property
> dependent.healthEligibilityIndicator of bean
> org.apache.struts.taglib.html.BEAN
> 
> 
> Hubert Rabago <[EMAIL PROTECTED]>
> 06/06/2005 03:25 PM
> Please respond to
> "Struts Users Mailing List" <user@struts.apache.org>
> 
> If dependentForm is the form bean associated with the HTML form that
> your checkbox is a part of, try it with just
> property="dependent.healthEligibilityIndicator".
> 
> Hubert
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to