Re: html-el:checkbox quandary

2005-06-07 Thread Hubert Rabago
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:/

Re: html-el:checkbox quandary

2005-06-07 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> > > In the JSP that is executed for the Dependent action this gets executed: > value="${dependentForm.dependent.healthEligibilityIndicator}"/> > Why are you using the 'value' attribute? The framework will automatically render the form element with the value present in t

Re: html-el:checkbox quandary

2005-06-07 Thread Hubert Rabago
I have to admit I didn't understand the question at all. :( Hubert On 6/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This raises a question. > Say I have a Dependent and DependentSubmit actions. > The Dependent action gets data from the DB and displays it using the > DependentForm. >

Re: html-el:checkbox quandary

2005-06-07 Thread gdeschen
iling List" cc Subject Re: html-el:checkbox quandary As Hubert suggested here are some of the details. ... public class DependentForm extends ActionForm { private DependentVO dependent; public DependentVO getDependent() { return dependent; }

Re: html-el:checkbox quandary

2005-06-07 Thread gdeschen
appreciate your time and patience with this ! - Glenn Hubert Rabago <[EMAIL PROTECTED]> 06/06/2005 05:50 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: html-el:checkbox quandary Yes. Maybe if you include the actual mappings

Re: html-el:checkbox quandary

2005-06-06 Thread Hubert Rabago
Yes. Maybe if you include the actual mappings, JSP text, form declaration, etc, someone will find something. From what you've said, it should work. Hubert On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Yes the form bean is associated with the HTML form. > > If I simply do this: >

Re: html-el:checkbox quandary

2005-06-06 Thread gdeschen
TED]> 06/06/2005 04:24 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List 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

Re: html-el:checkbox quandary

2005-06-06 Thread Hubert Rabago
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 , 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 b

Re: html-el:checkbox quandary

2005-06-06 Thread gdeschen
]> To: "Struts Users Mailing List" Sent: Monday, June 06, 2005 3:25 PM Subject: Re: html-el:checkbox quandary On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Okay okay it is one of those mondays where your physically at work but > mentally still Saturday af

Re: html-el:checkbox quandary

2005-06-06 Thread Martin Gainty
day, June 06, 2005 3:25 PM Subject: Re: html-el:checkbox quandary On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Okay okay it is one of those mondays where your physically at work but mentally still Saturday afternoon ! I'm feeling the same way. I have a form bean: Depen

Re: html-el:checkbox quandary

2005-06-06 Thread gdeschen
]: 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" To Struts Users Mailing List cc Subject Re:

Re: html-el:checkbox quandary

2005-06-06 Thread Hubert Rabago
On 6/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Okay okay it is one of those mondays where your physically at work but > mentally still Saturday afternoon ! > I'm feeling the same way. > I have a form bean: > DependentForm > which also contains a value object bean: > dependent > which

html-el:checkbox quandary

2005-06-06 Thread gdeschen
Okay okay it is one of those mondays where your physically at work but mentally still Saturday afternoon ! I have a form bean: DependentForm which also contains a value object bean: dependent which has a property called: healthEligibilityIndicator Now I'd liket to reference the property in the