-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a window A which opens another window B on click of a button .I use Executions.getCurrent.SendRedirect(url,"_blank") to browse to the new window.
This opens the Window B (It belongs to a different page) in a new browser window. This window starts a file transfer when the user clicks on START button.
What I want to do here is that I dont want the user to close the window abruptly, and want to disable the close button of the browser. The user should click on the stop button provided.This would ensure that the file transfer is stopped before the user exits the window.
I have tried to set attribute closable="true" and onClose="event.stopPropogation()" .But this does not work as the window is still getting closed when the browser's close button is clicked.
Could someone please help me out?
Hi Sumi,
Your requirement sounds un-realistic. We cannot avoid users from close the window. But you can implement DesktopCleanup to do clean-up if the desktop is no longer available, ex. session-timeout or closed by users.
/robbie
Asked: 2009-04-29 17:38:31 +0800
Seen: 371 times
Last updated: May 04 '09