diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java b/uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java index 6a2f5c500b..b4f29dda06 100644 --- a/uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java +++ b/uitest/src/com/vaadin/tests/applicationservlet/InitParamUIProvider.java @@ -16,6 +16,7 @@ package com.vaadin.tests.applicationservlet; +import com.vaadin.server.UIClassSelectionEvent; import com.vaadin.server.UIProvider; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.javascriptcomponent.BasicJavaScriptComponent; @@ -24,7 +25,8 @@ import com.vaadin.ui.UI; public class InitParamUIProvider extends UIProvider { @Override - public Class<? extends UI> getUIClass(VaadinRequest request) { + public Class<? extends UI> getUIClass(UIClassSelectionEvent event) { + VaadinRequest request = event.getRequest(); String pathInfo = request.getRequestPathInfo(); if ("/test".equals(pathInfo)) { return BasicJavaScriptComponent.class; |