-
Notifications
You must be signed in to change notification settings - Fork 0
/
fixture-theme.xml
20 lines (16 loc) · 1.01 KB
/
fixture-theme.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:property-placeholder location="classpath:fixture.properties"/>
<bean id="themeSource"
class="org.springframework.ui.context.support.ResourceBundleThemeSource"
p:basenamePrefix="META-INF.spring.theme."/>
<bean id="themeResolver"
class="org.springframework.web.servlet.theme.CookieThemeResolver"
p:defaultThemeName="${fixture.theme.defaultThemeName}"
p:cookieName="${fixture.theme.cookieName}"/>
</beans>