• 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!