|
|
Re: Disable Refresh-Key F5 [message #496396 is a reply to message #495897] |
Mon, 09 November 2009 21:17 |
|
Investigating, I found, it has something to do with our login dialog, which is shown before the workbench is opened:
On RCP we have a login dialog, we ported to RAP. On successful authentication the workbench is opened.
If this login dialog is shown and the user presses F5 we get an IllegalStateException, because context is disposed":
Exception in thread "UIThread [1cbbpavfmu50w]" java.lang.IllegalStateException: The context has been disposed.
at org.eclipse.rwt.internal.service.ServiceContext.checkState(ServiceContext.java:154)
at org.eclipse.rwt.internal.service.ServiceContext.getStateInfo(ServiceContext.java:104)
at org.eclipse.rwt.internal.service.ContextProvider.getStateInfo(ContextProvider.java:166)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:126)
at java.lang.Thread.run(Thread.java:810)
The same if the session is terminated and the restart page should be displayed.
|
|
|
|
|
|
|
Re: Disable Refresh-Key F5 [message #558750 is a reply to message #518869] |
Tue, 14 September 2010 10:03 |
|
Hi Sascha,
can you please share the implementation of your solution?
I catch the following exception: org.eclipse.rwt.internal.lifecycle.UIThread$UIThreadTerminat edError.
What should I do in order for RAP to restart the application?
thanks in advance,
Assen.
|
|
|
Powered by
FUDForum. Page generated in 0.03405 seconds