RE: Page pre-processing - reply - reply

2004-06-01 Thread Kathy Zhou
(new ActionForward(mapping.getInput())); } for your info, Kathy -Original Message- From: Eric Fesler [SMTP:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 3:40 PM To: Struts Users Mailing List Subject:Re: Page pre-processing - reply Where do you call the action when

Re: Page pre-processing - reply

2004-05-31 Thread Eric Fesler
Where do you call the action when the form validation failed? In this case, Struts automatically forward the request back to the input. --ERic On Mon, 2004-05-31 at 20:35, [EMAIL PROTECTED] wrote: > Manually calling execute() will work if execute() only does the initializing > collections or dat

Re: Page pre-processing - reply

2004-05-31 Thread vancega
Manually calling execute() will work if execute() only does the initializing collections or data used on a form. Good idea. Kathy - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 30, 2004 10:13 AM Subject: R

Re: Page pre-processing - reply

2004-05-30 Thread Michael McGrady
I am interested in finding a solution for this recurrent problem, as I know many are. My first question, however, is what do Struts and Tomcat use to keep track of sesssions? Anyone have a reference to that information? I think the solution might be to keep something other than a session whic

Re: Page pre-processing

2004-05-30 Thread Eric Fesler
Hi Riyad, indeed, that's a way to do it. I guess I have to be careful with the form reset method to avoid all the information the user has already entered. --ERic On Sun, 2004-05-30 at 03:44, Riyad Kalla wrote: > Eric, > I have something exactly like this, and I get around it by setting the >

Re: Page pre-processing - reply

2004-05-30 Thread None None
l Actions from other Actions, which is the key point. From: <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Page pre-processing - reply Date: Sat, 29 May 2004 23:42:22 -040

Re: Page pre-processing - reply

2004-05-29 Thread Rick Reumann
[EMAIL PROTECTED] wrote: I was wondering if anybody had already thought about an additional parameter linked to a struts-forward allowing page pre-processing. This parameter could point to a new kind of model action that will complete the model with information needed by the view any time the forwa

Re: Page pre-processing - reply

2004-05-29 Thread vancega
Eric, The way I did was to add the collection to request in Action bean when the validation of the form failed. The collection was re-initialized as needed. I have not found any other way in struts yet. Kathy - Original Message - From: "Eric Fesler" <[EMAIL PROTECTED]> To: "Struts Users

Re: Page pre-processing

2004-05-29 Thread Riyad Kalla
Eric, I have something exactly like this, and I get around it by setting the action's validate attribute to false for the "prepare" method, and true for the "submission" action... for example: prepareEditUser: takes a user ID, loads all data up into request for JSP page to show, action does val