Warn message when user is Leaving the page

Post Reply
leozkr
Posts: 11
Joined: 27 Jan 2017, 19:51

17 Sep 2018, 21:41

Hello,

I'm developing an web-application that usually saves all updates at backing bean, and than call the methods that update DB only when the user clicks "SAVE"
actually i'm trying to avoid users mistakes when they click on Refresh/Back/"another URL" by mistake
and i want to give them a WARN message,
Are there some correct way to do this?
do you have any examples about how to do it?

Best Regards


Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests