public class ThemeHandlers extends Object
| Constructor and Description |
|---|
ThemeHandlers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
getTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method initializes the theme using the given
themeName and themeVersion. |
static void |
getThemeFromIntegrationPoints(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method gets the
themeName and themeVersion
via Integration Point. |
public static void getTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method initializes the theme using the given
themeName and themeVersion. If these
values are not supplied, "suntheme" and "4.2" will be used
respectively. This method should be invoked before the theme is
accessed (for example on the initPage or beforeCreate of the login
page).
public static void getThemeFromIntegrationPoints(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method gets the themeName and themeVersion
via Integration Point. If more than one is provided
the one with the lowest priority number will be used.
This method should be invoked before the theme is
accessed (for example on the initPage or beforeCreate of the login page).
Copyright © 2017. All rights reserved.