Re: Form initialization and frames

2001-12-28 Thread mctwo
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

Re: Form initialization and frames

2001-12-22 Thread Erik Hatcher
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.

RE: form initialization

2001-12-13 Thread Matt Raible
} } } } -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

RE: form initialization using session

2001-02-28 Thread Robert Taylor
> 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

RE: form initialization using session

2001-02-27 Thread Simon Sadedin
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

Re: form initialization using session

2001-02-27 Thread Michael McCallister
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

RE: form initialization

2000-12-18 Thread Kok, Arjan
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