Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 2.0 ClientService: ExitConfirmation
RAP 2.0 ClientService: ExitConfirmation [message #1012950] Fri, 22 February 2013 14:02 Go to next message
Thorsten Lichtenwalter is currently offline Thorsten LichtenwalterFriend
Messages: 12
Registered: February 2013
Junior Member
Is there any doc regarding the feature "ExitConfirmation"? In my app i just 'tested' this service and set a custom message. When leaving the web site it behaves different, depending on the web browser i am using:

Firefox: there is a popup message "Diese Seite bittet Sie zu bestätigen, dass Sie die Seite verlassen möchten Daten, die Sie eingegeben haben, werden unter Umständen nicht gespeichert." - but my custom message isn't showing up.

Internet Explorer: there is a popup message as well, which includes my custom message.

Is this a correct behavior? What should I expect by using this feature?


Regards
Thorsten Lichtenwalter

---
Thorsten Lichtenwalter
Software Development
msgGillardon AG, Bretten, Germany


Thorsten Lichtenwalter
Software Development
msgGillardon AG, Bretten, Germany
Re: RAP 2.0 ClientService: ExitConfirmation [message #1012955 is a reply to message #1012950] Fri, 22 February 2013 14:12 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Thorsten,
the intended behavior is the one in IE - popup message with your custom
text. Chrome and Opera behave the same. Unfortunately, since Firefox 4.0
(if I'm not mistaken) it's not possible to change the text and Firefox
displays it's own text.
Best,
Ivan

On 2/22/2013 4:02 PM, Thorsten Lichtenwalter wrote:
> Is there any doc regarding the feature "ExitConfirmation"? In my app i
> just 'tested' this service and set a custom message. When leaving the
> web site it behaves different, depending on the web browser i am using:
>
> Firefox: there is a popup message "Diese Seite bittet Sie zu
> bestätigen, dass Sie die Seite verlassen möchten Daten, die Sie
> eingegeben haben, werden unter Umständen nicht gespeichert." - but my
> custom message isn't showing up.
>
> Internet Explorer: there is a popup message as well, which includes my
> custom message.
>
> Is this a correct behavior? What should I expect by using this feature?
>
>
> Regards
> Thorsten Lichtenwalter
>
> ---
> Thorsten Lichtenwalter
> Software Development
> msgGillardon AG, Bretten, Germany
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 2.0 ClientService: ExitConfirmation [message #1014148 is a reply to message #1012955] Mon, 25 February 2013 09:02 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

That's browser behavior, we cannot change it. It's actually stated in
the JavaDoc of ExitConfirmation:

"Please note that some browsers ignore the message and only display
a generic confirmation dialog if a message is set."

Regards,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP 1.5.2 released
Next Topic:Images in tables sometimes cropped to 16px
Goto Forum:
  


Current Time: Fri Apr 19 02:05:19 GMT 2024

Powered by FUDForum. Page generated in 0.02832 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top