Yes I do know how to open the popup form in a new window. That's the easy part. How to 
handle the popup form is the problem.

-Nimmi

-----Original Message-----
From: Alexander Jesse [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 2:01 PM
To: struts-user
Subject: RE: How to handle a PopUp Form from another Form?


Hi,

part one is not really a problem: just add ----target="_a_window_name_" to the link.

part two is where it gets tough...I do not know of a html-construct allowing for this. 
Maybe you could create a javascript that will put the focus on "_a_window_name_ if it 
exists...

hth
Alexander

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 8:51 PM
To: [EMAIL PROTECTED]
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

Reply via email to