A
Andy
Hi,
Problem description:
Issue with pre-populating a form before it is displayed.
Background:
The application flows from page 1 (displayUserForm) to page 2
(detailUserForm). Page 1 contains a list of username information and
after I select one username, displayUserForm will display detail user
information that was selected.
I follow a similar pattern as described in struts-example. I have an
action class (populateAction) that sits between displayUserForm and
detailUserForm. This action class sole purpose is to populate
detailuserForm properties so that when I get to page 2, the form has
been populated.
This is a straight forward approach, but I can't get the
detailUserForm on page 2 populated. Struts throws an error saying that
it can't find detailUserForm bean instance that I created and
processed inside populateAction class.
Any tips, hints is greatly appreciated.
TIA
-Andy
Problem description:
Issue with pre-populating a form before it is displayed.
Background:
The application flows from page 1 (displayUserForm) to page 2
(detailUserForm). Page 1 contains a list of username information and
after I select one username, displayUserForm will display detail user
information that was selected.
I follow a similar pattern as described in struts-example. I have an
action class (populateAction) that sits between displayUserForm and
detailUserForm. This action class sole purpose is to populate
detailuserForm properties so that when I get to page 2, the form has
been populated.
This is a straight forward approach, but I can't get the
detailUserForm on page 2 populated. Struts throws an error saying that
it can't find detailUserForm bean instance that I created and
processed inside populateAction class.
Any tips, hints is greatly appreciated.
TIA
-Andy