themeResolver
,
a FixedThemeResolver
will be provided with the default theme name 'theme'.FixedThemeResolver
, you will able to use another theme
name for default, but the users will stick on this theme.CookieThemeResolver
or SessionThemeResolver
, you can allow
the user to change his current theme.RequestContext
for other view technologies.pagedlist
demo application uses themesAbstractThemeResolver | Abstract base class for ThemeResolver implementations. |
CookieThemeResolver | Implementation of ThemeResolver that uses a cookie sent back to the user in case of a custom setting, with a fallback to the default theme. |
FixedThemeResolver | Implementation of ThemeResolver that simply uses a fixed theme. |
SessionThemeResolver | Implementation of ThemeResolver that uses a theme attribute in the user's session in case of a custom setting, with a fallback to the default theme. |
ThemeChangeInterceptor | Interceptor that allows for changing the current theme on every request, via a configurable request parameter. |