We found the answer. I think I should have thought of this before because
now it seems obvious
change
to
where criteria would be the path in the struts-config.xml
then have the forward defined to go to criteria.jsp
It works great! when the frameset goes to load t
I have just tackled this very issue. I did try to make my solution
extremely generalized, but I haven't decided if/when it will be ready to
contribute back. But I will describe its architecture:
In our application we have many two-frame pages, top containing criteria,
bottom containing results.
}
}
}
}
-Original Message-
From: Colin Sharples [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 1:37 PM
To: Struts Developers List
Subject: Re: form initialization
Apologies for following up a user-type question with another one, but in
the int
> Instead, I am experimenting with overriding the struts
> processActionForm() to notice when the form is created and call a
> form.create() method on my ActionForm subclass, passing the
> request/session in at that time. This seems to be working nicely - i
> still have to have all requests for t
rm bean instance is
created, on the instance created.
Cheers,
Simon.
-Original Message-
From: Michael McCallister [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: form initialization using session
The way this is typically handled is
The way this is typically handled is to use an Action to populate the
bean. So instead of linking your user directly to the JSP page, you link
them to an Action. This Action typically loads the bean and then returns
the success mapping, which, in struts-config.xml, you've mapped to the JSP
t
Hello,
The Struts way to initialize a form with values retrieved in an Action is to
populate an ActionForm with the values that were retrieved (e.g. by using
PropertyUtils:copyProperties()) in the Action (viewDocument.do) itself.
So not in the reset() method, as the main purpose of this method
7 matches
Mail list logo