This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 2, 2011, 2:39 PM
66 Posts

Prompt for Save on Exit (onunload?) if changes were made?

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 2
 Is there a way in XPages to prompt a user to allow them to do a save on close of browser? Similar to onunload for traditional Notes development...
Aug 2, 2011, 3:04 PM
272 Posts
Re: Prompt for Save on Exit (onunload?) if changes were made?
Hi Ryan,
 
try to use dojo.addOnWindowUnload to add an function which handles your requirements.
But you cannot stop the event which closes the browser (like a "continue=false" in Lotus Script).
 
Sven
Aug 2, 2011, 7:06 PM
66 Posts
Re: Prompt for Save on Exit (onunload?) if changes were made?
 Thanks Sven, I'll give that a try. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal