write a JavaScript function on your parent window
<!--
function fromPopup(par1, par2, ...) {
document.forms[0].field1.value = par1;
document.forms[0].field2.value = par2;
...
}
-->
from the popup, when exiting, call the parent window function
<!--
function exiting(par1, par2, ...) {
window.opener.fromPopup(par1, par2, ...);
window.opener.focus();
self.close();
}
-->
-----Original Message-----
From: Susmita Pati [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:01 PM
To: 'Struts Users Mailing List'
Subject: Help needed.........Need to Pass values from the popup to the
ac tion handler
Hi All
I need to popup a window from the click of a button. select some values.
Then pass this value to the action handler.
Can someone help me pls.
Thanks in advance
susmita
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>