Correct me if I'm wrong, but it sounds like you want to popup window to behave like a modal dialog box. I can't think of any standard javascript/HTML construct that would allow that, short of using alert() to pop up a modal dialog box, but that's not going to help you. Has anyone seen or built a web app with this kind of functionality?
-Dan On Monday 22 October 2001 16:47, you wrote: > It is an indexed link. I already know how to get the indexed link to > include the part number. > > What I want to do is: > > This link should point to an action class, say "partInfo.do", which > retrieves the complete information about that part and puts it into an > ActionForm and then forwards to a JSP in a "NEW" window(with no location > bar,no tool bar,etc.)on top of the originator window. > > User submits to this ActionForm have to follow the normal ActionForm > features, i.e., bring back the part form screen in case of actionerrors. > And If the update is successful then the part changes are to be saved to > the database and the popup window closed and user allowed to continue work > on the originator window > > Until the user has successfully updated the data and the popup window is > closed, he/she should not be able to get to the originator form. > > I hope someone has handle this situation and can help me. > > -Nimmi > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 22, 2001 3:27 PM > To: [EMAIL PROTECTED] > Subject: Re: How to handle a PopUp Form from another Form? > > > > > Perhaps you can use a indexed link which brings up the data in the popup > form. > > As for the second part, could you use javascript onload function in the > original page, which checks to see if popup exists, and if it does puts > focus back on it? > > Cheers, > > Dave > > > > > > Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> on > 10/22/2001 02:50:51 PM > > Please respond to [EMAIL PROTECTED] > > To: "struts-user@jakarta. apache. org (E-mail)" > <[EMAIL PROTECTED]> > cc: (bcc: David Hay/Lex/Lexmark) > Subject: How to handle a PopUp Form from another Form? > > > > Hi, > > I am looking for suggestions on how to handle this situation: > > I have a grid form (i.e., a form with tabular data). One of the columns of > this tabular data is "PartNumber" which when clicked on a row should popup > a form in a new window bringing up all the information about this part, > e.g., description, dimensions,price, etc. from the database and the user > should be able to modify this part data. > > 1.The popup form has to be just another ActionForm where the control > returns to the form if any validation errors encountered. > > 2. The user should not be able to go back to the Originator form until done > with the popup form. > > > Thanks. > > -Nimmi _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com