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:/
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
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.
>
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;
}
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
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:
>
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
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
]>
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
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
]:
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:
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
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
13 matches
Mail list logo