diff options
author | Artur Signell <artur@vaadin.com> | 2015-04-25 16:07:36 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-07-13 17:19:09 +0300 |
commit | b38dc12c24ca5eb0cc597309e0317e4364585433 (patch) | |
tree | 1913bb50a89a1ad3eb791c2aa28a8c132a127512 /shared | |
parent | 04100c62ac45550f12f8c631fb83140a0af0a48b (diff) | |
download | vaadin-framework-b38dc12c24ca5eb0cc597309e0317e4364585433.tar.gz vaadin-framework-b38dc12c24ca5eb0cc597309e0317e4364585433.zip |
Refactor reconnect dialog (#11733,#17075)
* Add grace period for showing the reconnect dialog
* Try to reconnect once immediately
* Stop reconnecting when application is stopped
* Make it possible and easy to replace the reconnect dialog
Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/ui/UIState.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java index 1a2e1e4f46..0e21324cc2 100644 --- a/shared/src/com/vaadin/shared/ui/ui/UIState.java +++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java @@ -130,6 +130,7 @@ public class UIState extends TabIndexState { public String dialogTextGaveUp = "Server connection lost."; public int reconnectAttempts = 10000; public int reconnectInterval = 5000; + public int dialogGracePeriod = 1000; } public static class LocaleServiceState implements Serializable { |