I have a question along a similar vein:
I have a pop up window that is used to populate a set of items in a main form.
This pop up window is used in several different places.
I have 2 ActionForm classes and separate Actions for the main and the pop up
form.
I need an approach on how to close the pop up window and re-call the action for
the main window, preserving the data on the main form, while adding the new data
populated on the pop up form. I see a strange mix of Javascript and
Action/ActionForm classes, and I don't know if there is a straightforward way to
handle it. The reusability of the pop up form is the key issue here.
Thanks,
Joe
Internet Mail Message
Received from host: daedalus.apache.org
[64.125.133.20]
From: John Schroeder <[EMAIL PROTECTED]> on 10/04/2001 05:16 PM GMT
John Schroeder To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]> Cc: (bcc: Joe Feeley-JP/PGI)
Subject: RE: Pop-Up Window
10/04/2001 01:16 PM
Please respond to
[EMAIL PROTECTED]
Hi Tricia,
try adding a .do to showEmailFriend ("/util/showEmailFriend.do"). That
should solve it.
--John
-----Original Message-----
From: Tricia Ong Cheah Yen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: Pop-Up Window
Importance: High
i've got this Javascript that pops up another window to display a Strut
form
<script language="javascript">
function openWin() {
window.open("/util/showEmailFriend","_blank", "
toolbar=0,scrollbars=0,status=1,resizable=0,menubar=0,width=400,height=5
00");
}
</script>
but i kept getting an error... "can't find
C:/iPlanet/Servers/docs/util/showEmailFriend.do (File not found)"
any pointer in how i should i go about acheiving this?
+trish