Just guessing OnEventHeaderItem forScript("window", "*beforeunload*", "*function*() { *return '**Sure do you want to leave us?'*; }");
On Wed, Apr 20, 2016 at 1:31 PM, Lorne Malvo <caffeineindu...@gmail.com> wrote: > Thanks Ernesto. > > I tried using OnEventHeaderItem but can't quite get it to work. > What would I use as a target? > > Thanks! > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-way-to-show-a-Are-you-sure-you-want-to-navigate-away-page-tp4674323p4674326.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro