Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.springframework.web.servlet.theme

Theme support classes for Spring's web MVC framework.

See:
Description

Class Summary
AbstractThemeResolver | 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.

## Package org.springframework.web.servlet.theme Description

Theme support classes for Spring's web MVC framework. Provides standard ThemeResolver implementations, and a HandlerInterceptor for theme changes.

- If you don't provide a bean of one of these classes as `themeResolver`, a `FixedThemeResolver` will be provided with the default theme name 'theme'.
- If you use a defined `FixedThemeResolver`, you will able to use another theme name for default, but the users will stick on this theme.
- With a `CookieThemeResolver` or `SessionThemeResolver`, you can allow the user to change his current theme.
- Generally, you will put in the themes resource bundles the paths of CSS files, images and HTML constructs.
- For retrieving themes data, you can either use the spring:theme tag in JSP or access via the `RequestContext` for other view technologies.
- The `pagedlist` demo application uses themes

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| The Spring Framework
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2002-2008 The Spring Framework.