I do have it set to session in the action
element
<action
path="/editPersonalInfo"
type="com.bmo.ifl.laps.actions.EditPersonalInfoAction"
name="personalInfoForm"
scope="session"
input="/editPersonalInfo.jsp"
>
----- Original Message -----
Sent: Wednesday, June 20, 2001 12:11
PM
Subject: Re: form is null in Action
Have you got the session for this form in your
struts-config set to request? It caught me out too - if so, it looks
for form in request, not in
session.
Dave
"Michelle Popovits" <[EMAIL PROTECTED]>
on 06/20/2001 10:56:41 AM
Please respond to [EMAIL PROTECTED];
Please respond to "Michelle
Popovits" <[EMAIL PROTECTED]>
To:
[EMAIL PROTECTED] cc:
(bcc: David Hay/Lex/Lexmark) Subject: form is null in
Action
Hi,
- In my SEARCH action I retrieve the
required data from a datasource based on user entered search criteria. -
I place this data in a new EDIT Form instance and place it in
the session. - I Then forward to the EDIT jsp (which uses the EDIT Form)
and the data is displayed nicely in a table. - I then click SUBMIT which
sends me to the EDIT Action. - In the EDIT action the form argument is
null. I am expecting that my EDIT Form would be available here.
If I do a getAttribute from the session the EDIT Form is there.
Why
is the form argument in the perform() method of the EDIT action
null?
Thanks, Michelle
|