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:Tomcat hangs on shutdown
Next Topic:RWT meets Grails
Goto Forum:
  


Current Time: Fri Nov 21 18:11:22 GMT 2014

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

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