This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

invoking action when browser is closed  RSS feed

 
Don Ruckle
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there any way to invoke an action on my backing bean when user closes browser by pressing X?

I've tried to force it by invoking click() on button on "onunload" event but it doesn't work.
I would be grateful for any suggestions.

Don
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!