com.sun.rave.web.ui.theme
Class Theme

java.lang.Object
  extended by com.sun.rave.web.ui.theme.Theme

public class Theme
extends java.lang.Object

The Theme class is responsible for managing application resources such as style sheets, JavaScript files and message files.

Theme resources are delived in the form of Jar files which are placed in the classpath of the application or of the Servlet container. Themes must include a file called META-INF/swc_theme.properties which describe the resources available to the theme.

To configure the default Theme to be used by an application, ensure that the theme jar is the application's classpath and configure the application's deployment descriptor to set the context parameter com.sun.rave.web.ui.DEFAULT_THEME to the Theme's name.

If you need to add additional locale support, you have two options: