posted 21 years ago
>> 3. The definition of the action to which the
>> form is submitted as it appears in the
>> struts-config.xml file?
>The same as above.
I think the problem is in the Action class method used to process this form though I can't say without seeing it. When I want to display a pre-populated form, I go through an intermediate pre-populate step which populates the form bean before forwarding it onto another action which renders its contents on screen using the pre-populated form values. Since this action is used to pre-populated as well as process the form values, I am wondering how it handles these steps. My concern could very well be rooted in my own non-understanding of the bigger programming context your working in.
>> 4. The definition of your opening
>> <html:form /> tag as it appears in your JSP?
> The jsp that contains the checkbox is a region.
I am not sure what you mean here. I am assuming you use an <html:form> tag to specify the name of the action form you're working with as well as to specify the action you'll be POSTing or GETting to. Is this not so?
>> 5. The Action method you use to populate the
>> DynaValidator form?
> I am not sure about this last one. May you
> clear things ?
Here is an example of a dispatch method I use to pre-populate a DynaActionForm bean in one of my apps. It pre-populates the form with data before control is dispatched to another action that renders its contents on screen (NB: Actually, it is a series of two methods):
Darryl
[ March 26, 2003: Message edited by: Darryl A. J. Staflund ]