RE: Action Form Design Problem
Yes, session propagates to child window. The problem is, if we have single form bean for all the data, then the data is not logically structured, we are mixing all kind of logically separate entities in single form bean. Can we have separate form beans for each of the popup and get all the data in one Action class ?? Can we have some kind of reference to other form beans(for popups) from the parent page form bean?? Thanks and Regards Ritesh -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:31 AM To: Struts Users Mailing List Subject: Re: Action Form Design Problem Does session propagate to the pop-up window and vice-versa? - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:47 PM Subject: Re: Action Form Design Problem Treat it as a multi-page form. Store the form bean in the session and have both pages store their data in the same form bean. Your final submit action will then have access to all the data. David From: Amit Keshav Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Action Form Design Problem Date: Wed, 19 Mar 2003 10:45:04 +0530 Hi All, We are developing an application using Struts. The design of our screens is such that in Create screen a pop up window is used for capturing some of the data. User enters the data in the pop up window, saves it, returns to the parent window, fills some data in the parent window and finally submits the request for saving the data. At the time of saving we need the data entered in parent as well as pop up window. So how should the design of Action Forms and Action classes be in this case? Thanks and Regards, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Action Form Design Problem
It is logically structured according to your stated requirements. You have a child window capture some data, then parent captures more, then all data is submitted. It makes sense to have one form bean in this instance. David From: Ritesh Singhal [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Action Form Design Problem Date: Wed, 19 Mar 2003 13:42:19 +0530 Yes, session propagates to child window. The problem is, if we have single form bean for all the data, then the data is not logically structured, we are mixing all kind of logically separate entities in single form bean. Can we have separate form beans for each of the popup and get all the data in one Action class ?? Can we have some kind of reference to other form beans(for popups) from the parent page form bean?? Thanks and Regards Ritesh -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:31 AM To: Struts Users Mailing List Subject: Re: Action Form Design Problem Does session propagate to the pop-up window and vice-versa? - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:47 PM Subject: Re: Action Form Design Problem Treat it as a multi-page form. Store the form bean in the session and have both pages store their data in the same form bean. Your final submit action will then have access to all the data. David From: Amit Keshav Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Action Form Design Problem Date: Wed, 19 Mar 2003 10:45:04 +0530 Hi All, We are developing an application using Struts. The design of our screens is such that in Create screen a pop up window is used for capturing some of the data. User enters the data in the pop up window, saves it, returns to the parent window, fills some data in the parent window and finally submits the request for saving the data. At the time of saving we need the data entered in parent as well as pop up window. So how should the design of Action Forms and Action classes be in this case? Thanks and Regards, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Action Form Design Problem
Hi All, We are developing an application using Struts. The design of our screens is such that in Create screen a pop up window is used for capturing some of the data. User enters the data in the pop up window, saves it, returns to the parent window, fills some data in the parent window and finally submits the request for saving the data. At the time of saving we need the data entered in parent as well as pop up window. So how should the design of Action Forms and Action classes be in this case? Thanks and Regards, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Action Form Design Problem
Treat it as a multi-page form. Store the form bean in the session and have both pages store their data in the same form bean. Your final submit action will then have access to all the data. David From: Amit Keshav Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Action Form Design Problem Date: Wed, 19 Mar 2003 10:45:04 +0530 Hi All, We are developing an application using Struts. The design of our screens is such that in Create screen a pop up window is used for capturing some of the data. User enters the data in the pop up window, saves it, returns to the parent window, fills some data in the parent window and finally submits the request for saving the data. At the time of saving we need the data entered in parent as well as pop up window. So how should the design of Action Forms and Action classes be in this case? Thanks and Regards, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Action Form Design Problem
Does session propagate to the pop-up window and vice-versa? - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:47 PM Subject: Re: Action Form Design Problem Treat it as a multi-page form. Store the form bean in the session and have both pages store their data in the same form bean. Your final submit action will then have access to all the data. David From: Amit Keshav Kulkarni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Action Form Design Problem Date: Wed, 19 Mar 2003 10:45:04 +0530 Hi All, We are developing an application using Struts. The design of our screens is such that in Create screen a pop up window is used for capturing some of the data. User enters the data in the pop up window, saves it, returns to the parent window, fills some data in the parent window and finally submits the request for saving the data. At the time of saving we need the data entered in parent as well as pop up window. So how should the design of Action Forms and Action classes be in this case? Thanks and Regards, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]