org.springframework.web.servlet.theme.package-info Maven / Gradle / Ivy
/**
* 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 {@code themeResolver},
* a {@code FixedThemeResolver} will be provided with the default theme name 'theme'.
* - If you use a defined {@code FixedThemeResolver}, you will able to use another theme
* name for default, but the users will stick on this theme.
* - With a {@code CookieThemeResolver} or {@code 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
* {@code RequestContext} for other view technologies.
* - The {@code pagedlist} demo application uses themes
*
*/
package org.springframework.web.servlet.theme;