summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/Application.java
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2011-12-22 16:48:01 +0200
committerMarc Englund <marc@vaadin.com>2011-12-22 16:48:01 +0200
commitfd2f595812fc328624be7f1c70c5951d0328fcfc (patch)
tree07352163405854d8e3d045f6e130f863c2147d90 /src/com/vaadin/Application.java
parent4291447dede525a31c38629254499b7b93812be3 (diff)
downloadvaadin-framework-fd2f595812fc328624be7f1c70c5951d0328fcfc.tar.gz
vaadin-framework-fd2f595812fc328624be7f1c70c5951d0328fcfc.zip
Javadocced the fact that root preserving should not be toggled on-the-fly when the UI is showing.
Diffstat (limited to 'src/com/vaadin/Application.java')
-rw-r--r--src/com/vaadin/Application.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/Application.java b/src/com/vaadin/Application.java
index 83084f4213..8e88a677f6 100644
--- a/src/com/vaadin/Application.java
+++ b/src/com/vaadin/Application.java
@@ -2319,6 +2319,10 @@ public class Application implements Terminal.ErrorListener, Serializable {
* detect that the application is opened in a browser window where it has
* previously been open. The framework attempts to discover this by checking
* the value of window.name in the browser.
+ * <p>
+ * NOTE that you should avoid turning this feature on/off on-the-fly when
+ * the UI is already shown, as it might not be retained as intended.
+ * </p>
*
* @param rootPreserved
* <code>true</code>if the same Root instance should be reused