Oh, yeah, that's another thing. You usually can leave out the value attribute, except in checkbox. In another thread, where you have problems with the firstName text field, you can leave out the value attribute, Struts will automatically populate the field with the value held by the form. http://struts.apache.org/userGuide/struts-html.html#text
For a checkbox, the value field indicates what value Struts should check for to determine whether or not the checkbox was checked, whether to set the boolean property to true. In your case, it's like saying you're saying "if the user didn't change the value, then healthEligibilityIndicator should be set to true". http://struts.apache.org/userGuide/struts-html.html#checkbox Hubert On 6/7/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: <[EMAIL PROTECTED]> > > > > In the JSP that is executed for the Dependent action this gets executed: > > <html-el:checkbox property="dependent.healthEligibilityIndicator" > > value="${dependentForm.dependent.healthEligibilityIndicator}"/> > > > > Why are you using the 'value' attribute? The framework will automatically > render the form element with the value present in the form bean. In your > case it's probably not hurting anything, but it keeps catching my eye... > > -- > Wendy Smoak > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]