
Prof. Ismael H. F. Santos
- ismael@tecgraf.puc-rio.br
2
Theme and Locale: Resolver and
Intercepter
Class
Description
Fixed*Resolver
Selects
a fixed theme/locale, set using the "default[Theme|Locale]Name"
property.
Session*Resolver
The
theme/locale is maintained in the users HTTP session.
It only needs to be set once for each session,
but is not persisted between sessions.
Cookie*Resolver
The
selected theme/locale is stored in a cookie on the
user-agent's machine.
http://.../test.htm?theme=mello-yellow&locale=en_US
<bean id="themeChangeInterceptor"
class="org...ThemeChangeInterceptor" >
<property
name="paramName“name=“theme“ >
</bean>
<bean id="localeChangeIntercepter"
class="org...
LocaleChangeInterceptor" >
<property
name="paramName“name=“locale“ >
</bean>
