]> source.dussan.org Git - vaadin-framework.git/commitdiff
Separate view name from parameters with a slash in StaticViewProvider as well
authorJohannes Dahlström <johannesd@vaadin.com>
Thu, 6 Sep 2012 15:44:16 +0000 (18:44 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Thu, 6 Sep 2012 15:44:16 +0000 (18:44 +0300)
server/src/com/vaadin/navigator/Navigator.java

index 2f42acb3202f4704257d058f58e4ed1fc21d7919..f05d3678a5b2400e60f0b14138d01d1e42c70937 100644 (file)
@@ -223,7 +223,8 @@ public class Navigator implements Serializable {
             if (null == navigationState) {
                 return null;
             }
-            if (navigationState.startsWith(viewName)) {
+            if (navigationState.equals(viewName)
+                    || navigationState.startsWith(viewName + "/")) {
                 return viewName;
             }
             return null;