Closed
Description
Stefan Schmidt opened SPR-6414 and commented
With the new mvc:interceptors configuration option introduced by #11018 I can register interceptors:
<mvc:annotation-driven>
<mvc:interceptors>
<bean name="localeChangeInterceptor" class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
<property name="paramName" value="lang" />
</bean>
<bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor" p:paramName="theme1"/>
</mvc:interceptors>
</mvc:annotation-driven>
While the LocaleChangeInterceptor bean definition does register the paramName property correctly, the ThemeChangeInterceptor does not. This is due to the use of the xmlns:p="http://www.springframework.org/schema/p" namespace which does not seem to be taken into account.
Issue Links:
- ROO-385 Use new Spring MVC namespace ("is depended on by")
Referenced from: commits de1d548