Permalink
Browse files

Updated to Spring Mobile 1.1.0.BUILD-SNAPSHOT

  • Loading branch information...
1 parent 20077c3 commit 53d2550f84fb7e66d5b2f21b87e969eedaac288c @royclarkson royclarkson committed Nov 7, 2012
@@ -22,7 +22,7 @@
* @author Roy Clarkson
*/
@Configuration
-@ComponentScan(basePackages="org.springframework.showcases.lite")
+@ComponentScan(basePackages = "org.springframework.showcases.lite")
public class ComponentConfig {
}
@@ -42,7 +42,7 @@
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new DeviceResolverHandlerInterceptor());
-// registry.addInterceptor(SiteSwitcherHandlerInterceptor.mDot("testdomain.com"));
+ //registry.addInterceptor(SiteSwitcherHandlerInterceptor.mDot("testdomain.com"));
registry.addInterceptor(SiteSwitcherHandlerInterceptor.urlPath("/mobile", "/tablet", "/lite-showcase"));
}
@@ -53,9 +53,9 @@ public void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentRes
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/resources/**").addResourceLocations("/resources/");
}
-
+
// additional webmvc-related beans
-
+
@Bean
public InternalResourceViewResolver internalResourceViewResolver() {
InternalResourceViewResolver resolver = new InternalResourceViewResolver();
View
@@ -24,8 +24,8 @@
<properties>
<java-version>1.6</java-version>
- <org.springframework-version>3.1.1.RELEASE</org.springframework-version>
- <org.springframework.mobile-version>1.0.1.BUILD-SNAPSHOT</org.springframework.mobile-version>
+ <org.springframework-version>3.1.3.RELEASE</org.springframework-version>
+ <org.springframework.mobile-version>1.1.0.BUILD-SNAPSHOT</org.springframework.mobile-version>
<org.aspectj-version>1.6.9</org.aspectj-version>
<org.slf4j-version>1.6.1</org.slf4j-version>
<log4j-version>1.2.16</log4j-version>

0 comments on commit 53d2550

Please sign in to comment.