]> source.dussan.org Git - vaadin-framework.git/commitdiff
updated getWindow() javadoc
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Wed, 26 Aug 2009 14:50:39 +0000 (14:50 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Wed, 26 Aug 2009 14:50:39 +0000 (14:50 +0000)
svn changeset:8552/svn branch:6.1

src/com/vaadin/Application.java

index da0a3739090debaf6a20fe30430a9ad121c9a750..c87f50c2e782d6f6e542a7da19518d273a2c3a47 100644 (file)
@@ -224,6 +224,8 @@ public abstract class Application implements URIHandler,
             w.setName(name);
             // add it to this application
             addWindow(w);
+            // ensure use of window specific url
+            w.open(new ExternalResource(w.getURL().toString()));
             // add some content
             w.addComponent(new Label("Test window"));
         }