Retrieving a value from a JavaScript Popup
To fire an event when the popup closes by placing the following code in the BSP view:
<bsp:htmlbEvent id = "closing_event" name = "closing_event" p1 = "closing_event" />
This event is fired when the popup is closed by using the following JavaScript:
window.opener.closing_event('POPUP');window.close( );