Example usage for org.springframework.web.servlet.theme CookieThemeResolver subclass-usage

List of usage examples for org.springframework.web.servlet.theme CookieThemeResolver subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.theme CookieThemeResolver subclass-usage.

Usage

From source file org.openmrs.web.OpenmrsCookieThemeResolver.java

/**
 * Customization of the spring theme resolver so that an admin can set a global property for the
 * default locale for the system
 *
 * This class will not throw an exception even if there is a problem retrieving that global property, since that
 * prevent even an error page from being displayed properly

From source file net.solarnetwork.web.support.UrlPathThemeResolver.java

/**
 * {@link ThemeResolver} that resolves a theme name from a URL path variable.
 * 
 * <p>This class extends {@link CookieThemeResolver} and as such uses cookies
 * to persist the theme with the client browser. The theme can be changed
 * (or initially set) by passing a URL path variable with the HTTP request,