Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Migrating to RAP 2.0: AbstractBranding#showExitConfirmation
Migrating to RAP 2.0: AbstractBranding#showExitConfirmation [message #1065291] Tue, 25 June 2013 09:11 Go to next message
Torsten Lueckow is currently offline Torsten LueckowFriend
Messages: 2
Registered: June 2013
Junior Member
Hi,
I'm migrating from RAP 1.5 to RAP 2.0.

The class org.eclipse.rwt.branding.AbstractBranding had a method showExitConfirmation(), where I could control, if the message is shown or not.

The new ExitConfirmation class lacks this function.
Is there a way to control the message in RAP 2.0?

Cheers,
Torsten
Re: Migrating to RAP 2.0: AbstractBranding#showExitConfirmation [message #1065380 is a reply to message #1065291] Tue, 25 June 2013 13:52 Go to previous message
Torsten Lueckow is currently offline Torsten LueckowFriend
Messages: 2
Registered: June 2013
Junior Member
Sorry.
RTFM-problem at my side.

Setting the message to null solves the problem:

public interface ExitConfirmation extends ClientService {

  /**
   * Enables the exit confirmation with the given message if the message is not null. Setting the
   * message to <code>null</code> disables the exit confirmation.
   *
   * @param message the message to display when the user is about to leave the application
   */
  void setMessage( String message );
Previous Topic:ServerPushSessions
Next Topic:ViewPart with Toolbar
Goto Forum:
  


Current Time: Thu Apr 25 17:04:48 GMT 2024

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

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

Back to the top